summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-11-25 12:25:10 +0100
committerGravatar Stefano <l.stickell@yahoo.it> 2013-11-25 12:25:10 +0100
commitf6477822031ff1c6fffa30d62461eba3e5f1db35 (patch)
tree6e819d7e6102ac0a611a2193f5d56a8e3fc407d3 /module/plugins/crypter
parentMerge pull request #335 from vuolter/s/crypter/YoutubeBatch (diff)
parentCrypter: EasybytezComFolder: Fixed (thx stickell) (diff)
downloadpyload-f6477822031ff1c6fffa30d62461eba3e5f1db35.tar.xz
Merge pull request #412 from vuolter/s/crypter/EasybytezComFolder
EasybytezComFolder: Fixed bad url processing (result in SimpleCrypter update)
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r--module/plugins/crypter/EasybytezComFolder.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/module/plugins/crypter/EasybytezComFolder.py b/module/plugins/crypter/EasybytezComFolder.py
index 56be72669..b9cf240a0 100644
--- a/module/plugins/crypter/EasybytezComFolder.py
+++ b/module/plugins/crypter/EasybytezComFolder.py
@@ -21,12 +21,14 @@ from module.plugins.internal.SimpleCrypter import SimpleCrypter
class EasybytezComFolder(SimpleCrypter):
__name__ = "EasybytezComFolder"
__type__ = "crypter"
- __pattern__ = r"https?://(www\.)?easybytez\.com/users/\w+/\w+"
- __version__ = "0.03"
+ __pattern__ = r"http://(?:www\.)?easybytez\.com/users/(?P<ID>\d+/\d+)"
+ __version__ = "0.04"
__description__ = """Easybytez Crypter Plugin"""
__author_name__ = ("stickell")
__author_mail__ = ("l.stickell@yahoo.it")
+ FILE_URL_REPLACEMENTS = [(__pattern__, r"http://www.easybytez.com/users/\g<ID>")]
+
LINK_PATTERN = r'<div class="link"><a href="(http://www\.easybytez\.com/\w+)" target="_blank">.+</a></div>'
TITLE_PATTERN = r'<Title>Files of \d+: (?P<title>.+) folder</Title>'
PAGES_PATTERN = r"<a href='[^']+'>(?P<pages>\d+)</a><a href='[^']+'>Next &#187;</a><br><small>\(\d+ total\)</small></div>"