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

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

Author:  Freddy [ April 9th, 2014, 9:19 pm ]
Post subject:  Re: Replacements help topic.

Search string:
Code:
(?si)(\[/center\].+?\[/center\])


Replace with:
Code:
$1\n==========


Enable regex.

This would add after second [/center] tag, bug remove the previous replacement then, because you will have two blog separators.

Author:  Death_Lover [ May 16th, 2014, 5:19 pm ]
Post subject:  Re: Replacements help topic.

Hello Freddy, I need help for these two replacements.

First is BEFORE:
Code:
[b]Single Links[/b]

[quote]
http://rapidgator.net/file/f906196bed138b3c2.avi.rar.html

[/quote]

[b]OR Split Links[/b]

[quote]
Rapidgator
http://rapidgator.net/file/053743d.part1.rar.html
http://rapidgator.net/file/053743d.part2.rar.html
http://rapidgator.net/file/053743d.part3.rar.html
http://rapidgator.net/file/053743d.part4.rar.html
[/quote]
[/center]



AFTER:
Code:
[b]Single Links[/b]

[quote]
http://rapidgator.net/file/f906196bed138b3c2.avi.rar.html

[/quote]
[/center]


Second is into Title BEFORE:
Code:
3 Days To Kill (2014) DVDRIP XVID- UNKNOWN



AFTER:
Code:
3 Days To Kill (2014)



Waiting for your reply.

Regards!

Author:  Freddy [ May 21st, 2014, 6:51 am ]
Post subject:  Re: Replacements help topic.

The first one:
Search for:
Code:
(?si)\[b\]OR Split Links\[/b\]\s+\[(quote)\].+?\[/\1\]\s*


Replace with:
Code:
(leave empty)


Enable regex.


For title:
Search for:
Code:
^(.+?\)).*


Replace with:
Code:
$1


Enable regex.

Author:  Death_Lover [ May 23rd, 2014, 9:22 pm ]
Post subject:  Re: Replacements help topic.

thanks for your reply.. You have saved my lot of time and work.

Regards!

Author:  Thai [ July 1st, 2014, 10:51 am ]
Post subject:  Re: Replacements help topic.

I have a problem about replacement. After I replace some text, It leave space one line or more. How to removed it ?

and please help me to replace this message.

Before

Code:
[img]http://pic1.jpboy1069.org/BST102.jpg[/img]

08年06月17日

[url=http://pic1.jpboy1069.org/BST102_s.jpg]Preview[/url]

大人気シリーズ第3弾!
密室の魔力に酔いしれた男達のリアルな素顔…。
普段とは違う究極の極エロ世界!

「こんな奥まで突いたらあかんって~」
アナルの奥まで突かれながらも愛嬌たっぷり可愛い笑顔で興奮度は最高潮、スーパーS級モデル大西陽平!

若き暴れ馬弾丸ボディーの深田昇治遂にアナル解禁!
「めっちゃ変態な気分やっ」
アナルの穴を紅潮させながら掘られてもギン勃ちで感じまくりで最後は大量発射!

「やばいめっちゃ恥ずかしい…俺感じてる顔してるやん…」
だんじり日本男児の男気溢れる初体験。

保坂達也、全身敏感ボディをビクビク震わせ感じさせ穴にチンコを咥えこむ!

豪華人気モデル達が密室で魅せる淫乱世界ご期待ください!


Fileom (WMV-656MB)
(Single File)

[url=http://fileom.com/rg2br8r14bkv/BST102.wmv.html]http://fileom.com/rg2br8r14bkv/BST102.wmv.html[/url]



After

Code:
[img]http://pic1.jpboy1069.org/BST102.jpg[/img]
==========
Preview

08年06月17日

大人気シリーズ第3弾!
密室の魔力に酔いしれた男達のリアルな素顔…。
普段とは違う究極の極エロ世界!

「こんな奥まで突いたらあかんって~」
アナルの奥まで突かれながらも愛嬌たっぷり可愛い笑顔で興奮度は最高潮、スーパーS級モデル大西陽平!

若き暴れ馬弾丸ボディーの深田昇治遂にアナル解禁!
「めっちゃ変態な気分やっ」
アナルの穴を紅潮させながら掘られてもギン勃ちで感じまくりで最後は大量発射!

「やばいめっちゃ恥ずかしい…俺感じてる顔してるやん…」
だんじり日本男児の男気溢れる初体験。

保坂達也、全身敏感ボディをビクビク震わせ感じさせ穴にチンコを咥えこむ!

豪華人気モデル達が密室で魅せる淫乱世界ご期待ください!

File Description

[b]PREMIUM DOWNLOAD[/b]
[url=http://fileom.com/rg2br8r14bkv/BST102.wmv.html]http://fileom.com/rg2br8r14bkv/BST102.wmv.html[/url]



========== mean <!--more-->, right ?

and is there way I can leech the message as HTML ? I mean the same HTML code as the website I leech (without to convert it from BBcode to HTML)

Author:  Freddy [ July 2nd, 2014, 7:36 am ]
Post subject:  Re: Replacements help topic.

I will add replacements later.

The "blog separator" is converted to "<!--more-->" for Wordpress. It's written in themaPoster FAQ: http://poster.freddy.lt/faq.php?expand=faq405

You should always post with themaPoster in bbCode format and just enable in "FORUMS" -> select blog -> "Other settings" -> "Convert message to HTML." -> Press "Update" button.

Author:  Thai [ July 2nd, 2014, 5:00 pm ]
Post subject:  Re: Replacements help topic.

Thanks for your reply, Freddy. I'm look forwarding for the replacements.

Author:  Freddy [ July 7th, 2014, 8:08 am ]
Post subject:  Re: Replacements help topic.

Are you sure the message looks always pretty much the same? Because replacements would rely on the text in the message.

For example, it always should have "
Fileom (WMV-656MB)
(Single File)"

Author:  Volger [ July 10th, 2014, 12:39 am ]
Post subject:  Re: Replacements help topic.

I have a problem for this replacement :

Before
Code:
[url=javascript:ShowOrHide('16cd3f25b2819a509d14ed9629d7520e')]Afficher / Masquer le texte[/url]


After :
Code:
leave empty

Author:  Freddy [ July 10th, 2014, 7:25 am ]
Post subject:  Re: Replacements help topic.

You could probably remove this better with "remove elements" selector.

I would need specific post url.

Author:  Thai [ July 10th, 2014, 8:33 am ]
Post subject:  Re: Replacements help topic.

Freddy wrote:
Are you sure the message looks always pretty much the same? Because replacements would rely on the text in the message.

For example, it always should have "
Fileom (WMV-656MB)
(Single File)"


No, It should be anything like Fileom (MP4-1.3GB) or (3 part) or (2 part) instead of (Single File) or else but It always start word with "Fileom". I just want to removed it all and replace it with my file description.

Author:  Volger [ July 10th, 2014, 2:29 pm ]
Post subject:  Re: Replacements help topic.

Freddy wrote:
You could probably remove this better with "remove elements" selector.

I would need specific post url.


But i don't know how to remove this replacement with the selectors.

Code:
[url=javascript:ShowOrHide('16cd3f25b2819a509d14ed9629d7520e')]Afficher / Masquer le texte[/url]


Url example :

http://www.zone-telechargement.com/dvd- ... 1080p.html

Author:  Freddy [ July 12th, 2014, 9:01 am ]
Post subject:  Re: Replacements help topic.

Volger wrote:

But i don't know how to remove this replacement with the selectors.

Code:
[url=javascript:ShowOrHide('16cd3f25b2819a509d14ed9629d7520e')]Afficher / Masquer le texte[/url]


Url example :

http://www.zone-telechargement.com/dvd- ... 1080p.html


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

Remove elements:
Code:
div.title_spoiler

Author:  Freddy [ July 12th, 2014, 9:19 am ]
Post subject:  Re: Replacements help topic.

@Thai

Search for:
Code:
(?i)Fileom.+?\n.+


Replace with:
Code:
File Description


Enable regex search.

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

Search for:
Code:
(?is)(.+?jpboy.+?\n)(.+)


Replace with:
Code:
$1==========\nPreview\n$2


Enable regex search.

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

Search for:
Code:
(?i)\[url=.+?\]Preview\[/url\]\s*


Replace with:
Code:
(leave empty)


Enable regex search.

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

Search for:
Code:
(?i).+fileom\.com.+


Replace with:
Code:
[b]PREMIUM DOWNLOAD[/b]\n$0


Enable regex search.

Author:  VIPGFX [ August 2nd, 2014, 9:27 pm ]
Post subject:  Re: Replacements help topic.

Before:
Code:
javascript:ShowBild('http://image.com/uploads/posts/2014-08/1407010834_733f3.jpeg')
javascript:insertimage('http://image.com/uploads/posts/2014-08/1407010834_733f.jpeg')


After:
Code:
http://image.com/uploads/posts/2014-08/1407010834_733f3.jpeg
http://image.com/uploads/posts/2014-08/1407010834_733f.jpeg


Or:
with image(img) tag>>>
like thsese:
Code:
[img]http://image.com/uploads/posts/2014-08/1407010834_733f3.jpeg[/img]
[img]http://image.com/uploads/posts/2014-08/1407010834_733f.jpeg[/img]

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