It is currently March 28th, 2024, 5:51 pm



Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: [masaladesi.com] Not leeching attached images in the posts.
PostPosted: February 5th, 2016, 9:27 am 

Joined: January 5th, 2012, 5:53 am
Posts: 105
URL:http://www.masaladesi.com/forumdisplay.php?f=2&prefixid=mujra

Error message:No error message

Problem:Not leeching the attached images in the posts


Top
 Profile  
Reply with quote  
 Post subject: Re: [masaladesi.com] Not leeching attached images in the pos
PostPosted: February 5th, 2016, 12:41 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
The URL you wrote is not a post URL. It should be added in "Pages" to leech the topic posts.

But seems like it will need some custom selectors.

Go to "WEBSITES" -> select that website -> "Selectors" tab -> add these selectors:

Subject:
Code:
td.alt1 strong


Message:
Code:
td[id^=td_post_]


But it has some errors in parsing. Will fix it for next update (2.24).

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: [masaladesi.com] Want to remove last two lines.
PostPosted: February 11th, 2016, 11:17 pm 

Joined: January 5th, 2012, 5:53 am
Posts: 105
URL:http://www.masaladesi.com/showthread.php?t=387480

Error message:No Error message, it is leeching successfully, but every post has some unnecessary information at the end

Problem:Want to eliminate last two/three lines of the posts, like FilenameStatusSizeDownloadsUpdated at, Available 2.81 MB 0 Today, 12:16 AM Update now, information.

I tried with selectors-removal elements as fieldset.fieldset, but it is removing attachments also. But I want attachments, but not the last information.


Top
 Profile  
Reply with quote  
 Post subject: Re: [masaladesi.com] Want to remove last two lines.
PostPosted: February 12th, 2016, 8:43 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
You could add two replacements:

Search for:
Code:
FilenameStatusSizeDownloadsUpdated at


Replace with:
Code:
(leave empty)


Do NOT enable anything (nor regex, nor apply to all messages).

--------------------------------------------------------

Search for:
Code:
.+$


Replace with:
Code:
(leave empty)


Enable only "Regex".

--------------------------------------------------------

Then go to "WEBSITES" -> select that website -> "Replacements" tab (inside "WEBSITES") -> add those two replacements in for that website.

Re-leech those messages if needed. Will affect all new leeched messages.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: [masaladesi.com] Want to remove last two lines.
PostPosted: February 14th, 2016, 11:39 pm 

Joined: January 5th, 2012, 5:53 am
Posts: 105
Thank you Fredd!

It is working fine most of the posts. But I observed, it is not working for the following 3 cases.
1. Post which is edited.
2. Post which contains the signature.
3. Post which contains more than one links at the last.

I have also attached the images.
It is exactly eliminating last two lines, what ever it is, edited post message, signature message, or more than one url message. But My requirement is shown in attached image-named 'signature'.

Please try to fix it.


Attachments:
Has two or more links.PNG
Has two or more links.PNG [ 9.82 KiB | Viewed 5197 times ]
Signiture.PNG
Signiture.PNG [ 18.79 KiB | Viewed 5197 times ]
Edited post.PNG
Edited post.PNG [ 10.21 KiB | Viewed 5197 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: [masaladesi.com] Want to remove last two lines.
PostPosted: February 15th, 2016, 6:34 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
I will need URLs to test.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: [masaladesi.com] Want to remove last two lines.
PostPosted: February 15th, 2016, 9:52 am 

Joined: January 5th, 2012, 5:53 am
Posts: 105
Posts which are edited
http://www.masaladesi.com/showthread.ph ... a&t=216595
http://www.masaladesi.com/showthread.ph ... a&t=111864

Posts which are with signature
http://www.masaladesi.com/showthread.ph ... a&t=118021
http://www.masaladesi.com/showthread.ph ... a&t=118718
http://www.masaladesi.com/showthread.ph ... a&t=368041
http://www.masaladesi.com/showthread.ph ... a&t=369696

Posts with multiple urls at the end
http://www.masaladesi.com/showthread.ph ... a&t=371505
http://www.masaladesi.com/showthread.ph ... a&t=374791


Top
 Profile  
Reply with quote  
 Post subject: Re: [masaladesi.com] Want to remove last two lines.
PostPosted: February 16th, 2016, 11:42 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
1. Make sure that you have this "Message" selector added:
Code:
td[id^=td_post_]


If you added some other, then remove it and add this one.

2. From "Replacements" remove the replacement with search string ".+$" (which removes the last line). Will write better in below.

3. Add these two replacements:

Search for:
Code:
.+Update now.+\s*


Replace with:
Code:
(leave empty)


Enable regex search.




Search for:
Code:
(?s)\s*__________________.+


Replace with:
Code:
(leave empty)


Enable regex search.




Add those two replacements for the website.

You should have 3 replacements in the website:
* The one which removes "FilenameStatusSizeDownloadsUpdated at".
* And the two I just wrote. One which removes line with "Update now" and other which removes the signature.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: [masaladesi.com] Want to remove last two lines.
PostPosted: February 18th, 2016, 7:15 pm 

Joined: January 5th, 2012, 5:53 am
Posts: 105
I have two more problems with the site leeching.
issue1: leeching as continuous with title/subject, url, attached images and with url.
I need some 'Enter key function' after the subject/title and before the attached images.
If possible, there is an url at last, i need one or more 'Enter key function' before that.
url: http://www.masaladesi.com/showthread.ph ... 6&t=388443
please see the attachment 'issue1' about this one.

issue2: Editted posts are leeching with who is editted.
url: http://www.masaladesi.com/showthread.ph ... a&t=111864
http://www.masaladesi.com/showthread.ph ... a&t=216595
I dont require the information, who is edited there. Please see the attachment 'issue2'


Attachments:
issue2.PNG
issue2.PNG [ 15.45 KiB | Viewed 5178 times ]
issue1.PNG
issue1.PNG [ 143.7 KiB | Viewed 5178 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: [masaladesi.com] Want to remove last two lines.
PostPosted: February 19th, 2016, 2:14 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
I don't see the "edited" part in message after leeching in program.

You probably added some selectors to "Remove elements". Delete all those custom "Remove elements" selectors. When custom are added the default ones are not used. In this case the default "Remove elements" selectors work fine (they already are removing that "edited" part).

To add the new lines add these replacements:

To add new line after first line:

Search for:
Code:
^.+


Replace with:
Code:
$0\n


Enable regex search.




To add new line before last line:

Search for:
Code:
.+$


Replace with:
Code:
\n$0


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: [masaladesi.com] Want to remove last two lines.
PostPosted: February 19th, 2016, 6:26 pm 

Joined: January 5th, 2012, 5:53 am
Posts: 105
Thank you, Edited part issue is fixed.
But the new line after first line is still there. However, the new line before last line is working fine. Please leech the following links, you will come to know. Thank you for your awesome support.

http://www.masaladesi.com/showthread.ph ... a&t=389120
http://www.masaladesi.com/showthread.ph ... a&t=389111
http://www.masaladesi.com/showthread.ph ... a&t=389120
http://www.masaladesi.com/showthread.ph ... a&t=388888


Top
 Profile  
Reply with quote  
 Post subject: Re: [masaladesi.com] Want to remove last two lines.
PostPosted: February 21st, 2016, 2:14 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Search for:
Code:
^.+?\[/b\]


Replace with:
Code:
$0\n\n


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: [masaladesi.com] Want to remove last two lines.
PostPosted: February 21st, 2016, 3:42 am 

Joined: January 5th, 2012, 5:53 am
Posts: 105
I tried it, but it is working only with posts which has url in bold(
Code:
[b]filesflash.net.....[/b]
). For remaining, newline is not coming.

I am leeching the following pages.
http://www.masaladesi.com/forumdisplay. ... ixid=desix
http://www.masaladesi.com/forumdisplay. ... sc&page=55

Please leech the above urls and check the every post, you will come to know what is my exact issue.

BTW, actually two times appeared the filesflash link in the post, one is at the beginning and one is at last. Now last one is taking with the new line. If the first url newline is not working, just remove the url, that's okay for me.


Top
 Profile  
Reply with quote  
 Post subject: Re: [masaladesi.com] Want to remove last two lines.
PostPosted: February 21st, 2016, 4:19 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
I will need specific URLs of posts where it's not working.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: [http://www.masaladesi.com] as python
PostPosted: February 21st, 2016, 8:40 pm 

Joined: January 5th, 2012, 5:53 am
Posts: 105
http://www.masaladesi.com
can you do that, as like python? as you an expert, no need to tell every thing....
Destination: freedhotindians.com
source: masaladesi.com


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC