themaLeecher
http://leecher.themasoftware.com/forum/

Replacements help topic.
http://leecher.themasoftware.com/forum/viewtopic.php?f=4&t=5860
Page 11 of 19

Author:  Freddy [ May 14th, 2016, 3:58 pm ]
Post subject:  Re: Replacements help topic.

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

Remove elements (one per line):
Code:
a[href*=allhentaiporn.net]
a[href*=depfile.com]
a[href*=extreme-board.net]
a[href*=jbcam-voyeur.net]
a[href*=non-nudeteen.net]
center:contains(Please buy depfile.com)

Author:  hugorose [ May 15th, 2016, 4:57 am ]
Post subject:  Re: Replacements help topic.

Thank
I want add " <!--more--> " affter all image
Eg :
Before
Code:
[image]http://domain.com/abc/image1.jpg[/image]
[image]http://domain.com/abc/image2.jpg[/image]
..Content

Affter

Code:
[image]http://domain.com/abc/image1.jpg[/image]
[image]http://domain.com/abc/image2.jpg[/image]
<!--more-->
..Content

Author:  Freddy [ May 16th, 2016, 8:45 am ]
Post subject:  Re: Replacements help topic.

I guess you meant "img" tag since there no such tag "image" in BBCode.

Search for:
Code:
(?si).+\[/img\]


Replace with:
Code:
$0\n<!--more-->\n


Enable regex search.

Author:  hugorose [ June 12th, 2016, 10:49 am ]
Post subject:  Re: Replacements help topic.

Hello sir
Before
Code:
[url=http://domain.com/DYZiqdU2u]filename[/url]

After
Code:
[url=http://domain.com/DYZiqdU2u/filename]filename[/url]

Author:  suku [ June 12th, 2016, 11:39 am ]
Post subject:  Re: Replacements help topic.

Please Help ...

Before in subject
Code:
text -name- text  [2016 FullHD]


After in subject
Code:
text -name- text


and in message
Before
Code:
[center]
[img]abcd.jpg[/img]
[/center]

[b]Title:[/b] text
[b]Released:[/b] 2016
[b]Genre:[/b] x,y,z,
[b]Duration:[/b] 00:30:21

[b]Quality:[/b] FullHD
[b]Video:[/b] AVC, 1920x1080, 23.976 fps, 6000 Kbps
[b]Audio:[/b] AAC LC, 48.0 KHz, 2 channels, 192 Kbps
[b]Size:[/b] 1.33 GB

[center]
[url=1234.jpg][img]1234_tn.jpg[/img][/url]
[/center]

[quote]
[b]Download -text - name - text [2016 FullHD]
[/b]
[url=http://k2s.cc/1234.rar][b]http://k2s.cc/1234.rar[/b][/url]
[/quote]


after
Code:
[center]
[img]abcd.jpg[/img]


[b]Title:[/b] text
[b]Duration:[/b] 00:30:21
[b]Quality:[/b] FullHD
[b]Video:[/b] AVC, 1920x1080, 23.976 fps, 6000 Kbps
[b]Audio:[/b] AAC LC, 48.0 KHz, 2 channels, 192 Kbps
[b]Size:[/b] 1.33 GB


[img]1234.jpg[/img]


[quote]

http://k2s.cc/1234.rar
[/quote][/center]

Author:  Freddy [ June 12th, 2016, 12:21 pm ]
Post subject:  Re: Replacements help topic.

hugorose wrote:
Hello sir
Before
Code:
[url=http://domain.com/DYZiqdU2u]filename[/url]

After
Code:
[url=http://domain.com/DYZiqdU2u/filename]filename[/url]


Search for:
Code:
\[url=(http.+?)\](.+?)\[/url\]


Replace with:
Code:
[url=$1/$2]$2[/url]


Enable regex search.

Enable to apply to all new leeched messages OR add that replacement for needed website later.


suku wrote:
Please Help ...

Before in subject
Code:
text -name- text  [2016 FullHD]


After in subject
Code:
text -name- text


Search for:
Code:
(.+?)\[.+?\]


Replace with:
Code:
$1


Enable regex search.

Enable to apply to all new leeched messages OR add that replacement for needed website later.

Author:  suku [ June 22nd, 2016, 4:27 am ]
Post subject:  Re: Replacements help topic.

Before in message

Code:
[b]Title:[/b] text
[b]Released:[/b] 2016
[b]Genre:[/b] x,y,z,


After

Code:
bkank

Author:  Freddy [ June 22nd, 2016, 6:08 am ]
Post subject:  Re: Replacements help topic.

What's the URL of that post?

Might be easier with remove elements selectors then replacements.

Author:  suku [ June 22nd, 2016, 6:30 pm ]
Post subject:  Re: Replacements help topic.

Freddy wrote:
What's the URL of that post?

Might be easier with remove elements selectors then replacements.




one more..
before
Code:
[quote]
[b]Download - TriciaFox - Tricia Fox - Boy Girl Super Anal [2015 HD][/b]

http://k2s.cc/file/49bc7d00f1f31/TriciaFox.BoyGirlSuperAnal.mp4
[/quote]


after
Code:


http://k2s.cc/file/49bc7d00f1f31/TriciaFox.BoyGirlSuperAnal.mp4


also i want when i save the message...my message in center code and subject in bold code...

thanks

Author:  Freddy [ June 22nd, 2016, 7:22 pm ]
Post subject:  Re: Replacements help topic.

I'm not at home now for few days and don't have access here to take a look.

Will do that as soon as I get back. Most likely in Friday or Saturday

Author:  Freddy [ June 25th, 2016, 2:20 pm ]
Post subject:  Re: Replacements help topic.

To remove "Title" until "Genre":

Search for:
Code:
(?s)Title.+?Genre.+?\n


Replace with:
Code:
(leave empty)


Enable regex search.

===========================================================

To remove "quote" tags just add two simple replacements to replace them with nothing (not regex).

===========================================================

This would remove a line with word "Download":

Search for:
Code:
.*Download.+?\n


Replace with:
Code:
(leave empty)


Enable regex search.

===========================================================

This would surround whole message text in "center" tag:

Search for:
Code:
(?s)^.+$


Replace with:
Code:
[center]$0[/center]


Enable regex search.

Author:  suku [ June 28th, 2016, 3:48 am ]
Post subject:  Re: Replacements help topic.

Thanks a lot.....Freddy....

Author:  n1tros [ August 17th, 2016, 6:00 pm ]
Post subject:  Re: Replacements help topic.

Hi Freddy !

how can i make this:

BEFORE:

Code:
[center][img]ultraimg.com/dn0bvoyhwi.jpg[/img]

[b]File: Video260.avi
Size: 123.25 MiB
Duration: 00:15:11
Video: 320x240[/b]

[img]ultraimg.com/r9h43gs86jf.jpg[/img]

[links]

[/links][/center]


AFTER:

Code:
[center][img]ultraimg.com/dn0bvoyhwi.jpg[/img][/center]
==========
[center][img]ultraimg.com/dn0bvoyhwi.jpg[/img]

[b]File: Video260.avi
Size: 123.25 MiB
Duration: 00:15:11
Video: 320x240[/b]

[img]ultraimg.com/r9h43gs86jf.jpg[/img]

[links]

[/links][/center]

Author:  Freddy [ August 20th, 2016, 7:02 am ]
Post subject:  Re: Replacements help topic.

Hi,

* You shouldn't really need to have "[links]" tag in message text. You can just add needed hosts in themaPoster -> "CONFIG" -> "Links tag" -> "Hosts" and those hosts will be automatically surrounded with "[links]" tag when posting.

* For separator, if it's always the first line like that this would work fine:

Search for:
Code:
^.+


Replace with:
Code:
$0[/center]\n==========\n$0


Enable regex search.

Author:  n1tros [ August 20th, 2016, 7:57 am ]
Post subject:  Re: Replacements help topic.

thank you so much !

Page 11 of 19 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/