It is currently April 19th, 2024, 1:31 am



Post new topic Reply to topic  [ 283 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 19  Next
Author Message
 Post subject: Re: Change the order
PostPosted: January 20th, 2015, 8:04 am 

Joined: January 29th, 2014, 10:14 am
Posts: 56
Freddy wrote:
I would need full before and after example.


Thats not easy, as the imdb Link is always in a different spot, depends on the releasegroup.

example before (after leechingwith themaleecher):
Code:
Release Date : 2009/12/08
Video Bitrate............. : X264@ 9863K
Audio Bitrate ........... : DTS 1536K
Frame Rate : 23.976 Fps
Resolution : 1920 x800
Running Time : 138Mins
FiLe Rars ...... 79x150MB
Language.........English
Substitle.........English
[url]http://www.imdb.com/title/tt0120746/[/url]

[img]http://ia.media-imdb.com/images/M/MV5BNjI3NzI2MjY2MF5BMl5BanBnXkFtZTYwMDM5ODU5._V1_SX300.jpg[/img]
[b]Title:[/b] The Mask of Zorro (1998)
[b]Genres:[/b] Action, Adventure, Comedy
[b]Description:[/b] The original Zorro, Don Diego de la Vega, is captured and imprisoned just as Spain concedes California to Santa Anna. 20 years go by and his mortal enemy, Don Rafael Montero, returns to California with a plan to become wealthy at the expense of the peasants. The original Zorro escapes from prison and trains a new Zorro to take his place. Much swashbuckling and derring-do ensues.
[b]Director:[/b] Martin Campbell
[b]Writer:[/b] Johnston McCulley (character Zorro), Ted Elliott (story), Terry Rossio (story), Randall Jahnson (story), John Eskow (screenplay), Ted Elliott (screenplay), Terry Rossio (screenplay)
[b]Actors:[/b] José María de Tavira, Diego Sieres, Emiliano Guerra, Yolanda Orisaga
[b]Rating:[/b] 6.7
[b]Votes:[/b] 116247
[b]Rated:[/b] PG-13
[b]Runtime:[/b] 136 min

http://youtube.com/watch?v=uczLtpWF_cY

greeting:CiNEFiLE,SiNNERS

.,


what it should be afterwards:
Code:
[img]http://ia.media-imdb.com/images/M/MV5BNjI3NzI2MjY2MF5BMl5BanBnXkFtZTYwMDM5ODU5._V1_SX300.jpg[/img]
[b]Title:[/b] The Mask of Zorro (1998)
[b]Genres:[/b] Action, Adventure, Comedy
[b]Description:[/b] The original Zorro, Don Diego de la Vega, is captured and imprisoned just as Spain concedes California to Santa Anna. 20 years go by and his mortal enemy, Don Rafael Montero, returns to California with a plan to become wealthy at the expense of the peasants. The original Zorro escapes from prison and trains a new Zorro to take his place. Much swashbuckling and derring-do ensues.
[b]Director:[/b] Martin Campbell
[b]Writer:[/b] Johnston McCulley (character Zorro), Ted Elliott (story), Terry Rossio (story), Randall Jahnson (story), John Eskow (screenplay), Ted Elliott (screenplay), Terry Rossio (screenplay)
[b]Actors:[/b] José María de Tavira, Diego Sieres, Emiliano Guerra, Yolanda Orisaga
[b]Rating:[/b] 6.7
[b]Votes:[/b] 116247
[b]Rated:[/b] PG-13
[b]Runtime:[/b] 136 min

http://youtube.com/watch?v=uczLtpWF_cY

[b]info:[/b]
Release Date : 2009/12/08
Video Bitrate............. : X264@ 9863K
Audio Bitrate ........... : DTS 1536K
Frame Rate : 23.976 Fps
Resolution : 1920 x800
Running Time : 138Mins
FiLe Rars ...... 79x150MB
Language.........English
Substitle.........English
[url]http://www.imdb.com/title/tt0120746/[/url]



greeting:CiNEFiLE,SiNNERS

.,


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: January 27th, 2015, 3:12 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12640
Location: Earth
@Volger

Regex 1

Search for:
Code:
(/[0-9]+)( \([0-9]+ ?([0-9]+)?\))


Replace with:
Code:
$1


Enable regex search.

Regex 2

You would need at least two regex for this.

Search for:
Code:
0([0-9]h[0-9]+m)


Replace with:
Code:
$1


Enable regex search.

This would remove the 0 before the "1h"

And other:

Search for:
Code:
([0-9]+h)([0-9]m)


Replace with:
Code:
$10$2


Enable regex search.

This would add 0 for "3min"

Regex 3

Search for:
Code:
(?i)<iframe src=\"(.+?)\".+?</iframe>


Replace with:
Code:
$1


Enable regex search.

Regex 4

Search for:
Code:
(?i)<iframe src='.+?-(.+?)-.+?'.+?</iframe>


Replace with:
Code:
$1


Enable regex search.

Regex 5

Search for:
Code:
(?i)<iframe src=\"(.+?)autoplay=no\".+?</iframe>


Replace with:
Code:
$1autoplay


Enable regex search.

Regex 6

Same as "Regex 3".

Regex 7

Same as "Regex 3"

Regex 8

Will take a look a bit later.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: January 27th, 2015, 3:21 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12640
Location: Earth
@BBBZR

Search for:
Code:
(?is)(.+)\n(.+?imdb\.com/images.+?youtube\.com.+?)\n


Replace with:
Code:
$2\n\n[b]Info:[/b]\n $1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: January 27th, 2015, 2:05 pm 

Joined: January 18th, 2015, 10:09 am
Posts: 9
alphagamma44 wrote:
i want to replace [url = http :// something . com ]text [ /url ] with http://something.com
how to do that ??



Freddy wrote:
Search string:
Code:
\[url=(http://[^\]]+?)\](.*?)\[/url\]

Replace with:
Code:
$1

Enable regex search.

is it possible to do this for only 1 link, when the message has more? Say it has image links, and file host links, like rapidgator, and i only want to replace rapidgator links?


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: January 27th, 2015, 2:28 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12640
Location: Earth
Sure, after "htttp://" in search for add "rapidgator"

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: January 27th, 2015, 2:54 pm 

Joined: January 18th, 2015, 10:09 am
Posts: 9
Freddy wrote:
Sure, after "htttp://" in search for add "rapidgator"


Thanks.


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: January 27th, 2015, 4:16 pm 

Joined: January 29th, 2014, 10:14 am
Posts: 56
Sorry, what should i search where?

found but not working ... nothing changes tbh....

I just want the imdb stuff apper at the beginning. always. no matter where it imdb link is located in the text


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: January 28th, 2015, 10:50 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12640
Location: Earth
You need to add the replacement in "REPLACEMENTS" tab.

You must enable "Apply to all messages" if you want it to be applied to all messages or you can then add it for specific websites in "WEBSITES" -> "Replacements" tab.

The added replacements are only applied to new leeched messages.

If you want to apply it to older messages you have to select those messages and press the button above message list to apply replacement (hover the buttons for tooltips).

The replacement which I wrote works fine with your example from before. Maybe the message is actually different format which you try to leech now, I would need URL (to specific post) to test.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: January 28th, 2015, 12:56 pm 

Joined: January 29th, 2014, 10:14 am
Posts: 56
First i wrote "asd" and in the next line i put the IMDb link and pessed "leech from IMDb"

This is what it looks now:
Image

But it should look like this

Image


This is how the replacement tab looks like
Image
As you can see in the testing field, nothing has changed. The IMDB Link is still on 2nd position.
the imdb Infos should always start in the first line, no matter where the imdb link is located in the message.


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: January 28th, 2015, 1:08 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12640
Location: Earth
The replacements are only applied when leeching from websites at the moment. IMDB leeching is separate.

After you press "Leech from IMDB", save the message, and use the button above the message list to apply replacement to it. You can save a bunch of messages and apply replacement to all selected messages later as well.

I might improve this and make so that replacements are also applied when leeching from IMDB.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: February 4th, 2015, 7:55 am 

Joined: September 19th, 2011, 12:30 am
Posts: 275
Thank you for your help.

I need this regex (Regex 7), but with a different size in the links (580x360)

Examples :

http://youwatch.org/embed-deep4thn6smw-580x360.html
http://youwatch.org/embed-pm3gupxzq84j-580x360.html
http://youwatch.org/embed-pdevnszy6t9a-580x360.html
http://youwatch.org/embed-ncgb61o0tem5-580x360.html

Before :
Code:
<IFRAME SRC="http://youwatch.org/embed-deep4thn6smw-640x360.html" FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO width="640" height="360"></IFRAME>
<IFRAME SRC="http://youwatch.org/embed-pm3gupxzq84j-640x360.html" FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO width="640" height="360"></IFRAME>
<IFRAME SRC="http://youwatch.org/embed-pdevnszy6t9a-640x360.html" FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO width="640" height="360"></IFRAME>
<IFRAME SRC="http://youwatch.org/embed-ncgb61o0tem5-640x360.html" FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO width="640" height="360"></IFRAME>

After :
Code:
http://youwatch.org/embed-deep4thn6smw-580x360.html
http://youwatch.org/embed-pm3gupxzq84j-580x360.html
http://youwatch.org/embed-pdevnszy6t9a-580x360.html
http://youwatch.org/embed-ncgb61o0tem5-580x360.html

Quote:
Will take a look a bit later.

Ok, I will wait


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: February 5th, 2015, 9:32 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12640
Location: Earth
Search for:
Code:
(?i)<iframe src=\"(.+?)-[0-9]+x[0-9]+\.html\".+?</iframe>


Replace with:
Code:
$1-580x360.html


Enable regex search.


Regex 8

Search for:
Code:
(?is)(\n\[b\]Nom de la release.+?\n)(.+?)(\n[^\n]+?(liens\.png|infoDownload\.png))


Replace with:
Code:
$2$1$3


Enable regex search.

Your image must be named "liens.png" or "infoDownload.png" (your two examples were different).

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: February 5th, 2015, 3:50 pm 

Joined: September 19th, 2011, 12:30 am
Posts: 275
Ok. Thank you

I need an other regex for the trailer.

Before :
Code:
[b]Bande annonce : [/b] javascript:ShowOrHide('3c36c0a192274c5b4e6b82b068ea6da2')[embed]http://www.zone-telechargement.com/engine/ba.php?id=19548663[/embed]

After :
Code:
[b]Bande annonce : [/b] [url=http://www.allocine.fr/_video/iblogvision.aspx?cmedia=19548663]Cliquez-ici pour voir la bande annonce[/url]


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: February 10th, 2015, 1:20 pm 

Joined: January 18th, 2015, 10:09 am
Posts: 9
Need help deleting links for specific host:

Before:
Code:
[b]Uploadable:[/b]
[url=http://www.uploadable.ch/file/4qprq744gcFg/Setsuna_Sweet_Living.rar]http://www.uploadable.ch/file/4qprq7...eet_Living.rar[/url]
[b]Rapidgator:[/b]
[url=http://rapidgator.net/file/1ec557ff91cb8be1bd69cb4eb4374e3b/Setsuna_Sweet_Living.rar.html]http://rapidgator.net/file/1ec557ff9...iving.rar.html[/url]


After:
Code:
[b]Rapidgator:[/b]
[url=http://rapidgator.net/file/1ec557ff91cb8be1bd69cb4eb4374e3b/Setsuna_Sweet_Living.rar.html]http://rapidgator.net/file/1ec557ff9...iving.rar.html[/url]


Top
 Profile  
Reply with quote  
 Post subject: Re: Replacements help topic.
PostPosted: February 10th, 2015, 11:22 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12640
Location: Earth
Search for:
Code:
(?i).*uploadable.*\s


Replace with:
Code:
(leave empty)


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 283 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 19  Next

Who is online

Users browsing this forum: No registered users and 14 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