diff options
author | Stefano <l.stickell@yahoo.it> | 2013-03-07 16:41:25 +0100 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-03-07 16:41:25 +0100 |
commit | 8368a9a74d998b314f3864dcc8ce25c513d85cf9 (patch) | |
tree | 8995fd6c29742671a470667d59e8e6d167ed448b /module/plugins/hoster/DateiTo.py | |
parent | Merge pull request #32 from stickell/patch-1 (diff) | |
download | pyload-8368a9a74d998b314f3864dcc8ce25c513d85cf9.tar.xz |
Various fixes in 24 plugins
Diffstat (limited to 'module/plugins/hoster/DateiTo.py')
-rw-r--r-- | module/plugins/hoster/DateiTo.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/hoster/DateiTo.py b/module/plugins/hoster/DateiTo.py index 529a5a06f..8d994c179 100644 --- a/module/plugins/hoster/DateiTo.py +++ b/module/plugins/hoster/DateiTo.py @@ -24,7 +24,7 @@ class DateiTo(SimpleHoster): __name__ = "DateiTo" __type__ = "hoster" __pattern__ = r"http://(?:www\.)?datei\.to/datei/(?P<ID>\w+)\.html" - __version__ = "0.01" + __version__ = "0.02" __description__ = """Datei.to plugin - free only""" __author_name__ = ("zoidberg") __author_mail__ = ("zoidberg@mujmail.cz") @@ -77,6 +77,8 @@ class DateiTo(SimpleHoster): def checkErrors(self): found = re.search(self.PARALELL_PATTERN, self.html) if found: + found = re.search(self.WAIT_PATTERN, self.html) + wait_time = int(found.group(1)) if found else 30 self.setWait(wait_time + 1, False) self.wait(300) self.retry() |