summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/DateiTo.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/DateiTo.py')
-rw-r--r--module/plugins/hoster/DateiTo.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/hoster/DateiTo.py b/module/plugins/hoster/DateiTo.py
index c08b775a4..f39f6a6fb 100644
--- a/module/plugins/hoster/DateiTo.py
+++ b/module/plugins/hoster/DateiTo.py
@@ -81,17 +81,15 @@ class DateiTo(SimpleHoster):
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.wait(wait_time + 1, False)
self.retry()
def doWait(self):
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.load('http://datei.to/ajax/download.php', post={'P': 'Ads'})
- self.wait()
+ self.wait(wait_time + 1, False)
getInfo = create_getInfo(DateiTo)