diff options
author | Stefano <l.stickell@yahoo.it> | 2013-03-11 15:32:58 +0100 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-03-11 15:32:58 +0100 |
commit | 71bf18c5e9681347e37c76a0ea6ba69cd539e539 (patch) | |
tree | 56c71d16b9dd8dc45a6f8f58411277544ecec3b8 /module/plugins/hoster | |
parent | Merge pull request #40 from imclem/stable (diff) | |
download | pyload-71bf18c5e9681347e37c76a0ea6ba69cd539e539.tar.xz |
DepositfilesCom: new domain "dfiles.eu". Regex updated
http://forum.pyload.org/viewtopic.php?f=13&t=1959#p8243
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/DepositfilesCom.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/DepositfilesCom.py b/module/plugins/hoster/DepositfilesCom.py index 9c13a5f3a..eb64ae4de 100644 --- a/module/plugins/hoster/DepositfilesCom.py +++ b/module/plugins/hoster/DepositfilesCom.py @@ -10,8 +10,8 @@ from module.plugins.ReCaptcha import ReCaptcha class DepositfilesCom(SimpleHoster): __name__ = "DepositfilesCom" __type__ = "hoster" - __pattern__ = r"http://[\w\.]*?depositfiles\.com(/\w{1,3})?/files/[\w]+" - __version__ = "0.42" + __pattern__ = r"http://[\w\.]*?(depositfiles\.com|dfiles\.eu)(/\w{1,3})?/files/[\w]+" + __version__ = "0.43" __description__ = """Depositfiles.com Download Hoster""" __author_name__ = ("spoob", "zoidberg") __author_mail__ = ("spoob@pyload.org", "zoidberg@mujmail.cz") @@ -24,7 +24,7 @@ class DepositfilesCom(SimpleHoster): FILE_NAME_REPLACEMENTS = [(r'\%u([0-9A-Fa-f]{4})', lambda m: unichr(int(m.group(1), 16))), (r'.*<b title="(?P<N>[^"]+).*', "\g<N>" )] RECAPTCHA_PATTERN = r"Recaptcha.create\('([^']+)'" - DOWNLOAD_LINK_PATTERN = r'<form action="(http://.+?\.depositfiles.com/.+?)" method="get"' + DOWNLOAD_LINK_PATTERN = r'<form id="downloader_file_form" action="(http://.+?\.(dfiles\.eu|depositfiles\.com)/.+?)" method="post"' def setup(self): self.multiDL = False @@ -109,4 +109,4 @@ class DepositfilesCom(SimpleHoster): self.multiDL = True self.download(link, disposition = True) -getInfo = create_getInfo(DepositfilesCom)
\ No newline at end of file +getInfo = create_getInfo(DepositfilesCom) |