summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2013-11-23 18:05:46 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2013-11-23 18:06:02 +0100
commitd9ebc9ebf02d4315d105ce05d323adbeba0fad61 (patch)
tree57f5cbee1a82e6071a4db4bd545786759a0f6eb9 /module/plugins/crypter
parentCrypter: EasybytezComFolder: Fixed bad url processing (result in SimpleCrypte... (diff)
downloadpyload-d9ebc9ebf02d4315d105ce05d323adbeba0fad61.tar.xz
Crypter: EasybytezComFolder: Fixed (thx stickell)
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r--module/plugins/crypter/EasybytezComFolder.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/EasybytezComFolder.py b/module/plugins/crypter/EasybytezComFolder.py
index cfd52545e..b9cf240a0 100644
--- a/module/plugins/crypter/EasybytezComFolder.py
+++ b/module/plugins/crypter/EasybytezComFolder.py
@@ -21,13 +21,13 @@ from module.plugins.internal.SimpleCrypter import SimpleCrypter
class EasybytezComFolder(SimpleCrypter):
__name__ = "EasybytezComFolder"
__type__ = "crypter"
- __pattern__ = r"https?://(?:www\.)?easybytez\.com/users/\d+/\d+"
+ __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__]
+ 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>'