diff options
| author | 2014-04-11 12:17:38 +0200 | |
|---|---|---|
| committer | 2014-04-11 12:17:38 +0200 | |
| commit | 7f1467c64fe5c0e902498b3252afd65cb68ed2f9 (patch) | |
| tree | 9e408cdfc653731c8b84e83eecd0d26bcf2124ff /module/plugins/hoster/ExtabitCom.py | |
| parent | Fix retry time formats (diff) | |
| download | pyload-7f1467c64fe5c0e902498b3252afd65cb68ed2f9.tar.xz | |
Use wait to set time in SimpleHoster plugins
Merges vuolter/pyload@bb002ac
Diffstat (limited to 'module/plugins/hoster/ExtabitCom.py')
| -rw-r--r-- | module/plugins/hoster/ExtabitCom.py | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/module/plugins/hoster/ExtabitCom.py b/module/plugins/hoster/ExtabitCom.py index d9724ddb7..328095711 100644 --- a/module/plugins/hoster/ExtabitCom.py +++ b/module/plugins/hoster/ExtabitCom.py @@ -45,11 +45,9 @@ class ExtabitCom(SimpleHoster):          m = re.search(r"Next free download from your ip will be available in <b>(\d+)\s*minutes", self.html)          if m: -            self.setWait(int(m.group(1)) * 60, True) -            self.wait() +            self.wait(int(m.group(1)) * 60, True)          elif "The daily downloads limit from your IP is exceeded" in self.html: -            self.setWait(3600, True) -            self.wait() +            self.wait(1 * 60 * 60, True)          self.logDebug("URL: " + self.req.http.lastEffectiveURL)          m = re.match(self.__pattern__, self.req.http.lastEffectiveURL) | 
