summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/BezvadataCz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-04-11 12:17:38 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-11 12:17:38 +0200
commit7f1467c64fe5c0e902498b3252afd65cb68ed2f9 (patch)
tree9e408cdfc653731c8b84e83eecd0d26bcf2124ff /module/plugins/hoster/BezvadataCz.py
parentFix retry time formats (diff)
downloadpyload-7f1467c64fe5c0e902498b3252afd65cb68ed2f9.tar.xz
Use wait to set time in SimpleHoster plugins
Merges vuolter/pyload@bb002ac
Diffstat (limited to 'module/plugins/hoster/BezvadataCz.py')
-rw-r--r--module/plugins/hoster/BezvadataCz.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/hoster/BezvadataCz.py b/module/plugins/hoster/BezvadataCz.py
index 78836fa44..8a4bc559c 100644
--- a/module/plugins/hoster/BezvadataCz.py
+++ b/module/plugins/hoster/BezvadataCz.py
@@ -82,14 +82,13 @@ class BezvadataCz(SimpleHoster):
#countdown
found = re.search(r'id="countdown">(\d\d):(\d\d)<', self.html)
wait_time = (int(found.group(1)) * 60 + int(found.group(2)) + 1) if found else 120
- self.setWait(wait_time, False)
- self.wait()
+ self.wait(wait_time, False)
self.download(url)
def checkErrors(self):
if 'images/button-download-disable.png' in self.html:
- self.longWait(300, 24) # parallel dl limit
+ self.longWait(5 * 60, 24) # parallel dl limit
elif '<div class="infobox' in self.html:
self.tempOffline()