diff options
author | philou75 <admin@pju.fr> | 2014-12-12 22:49:23 +0100 |
---|---|---|
committer | philou75 <admin@pju.fr> | 2014-12-12 22:49:23 +0100 |
commit | c9b4f3b9a78904d34d7e58593eacdc26b93c2562 (patch) | |
tree | 598d1c92a279a1c8209d88fa9bd84a235b8a1aae /module/plugins/internal | |
parent | [DebridItaliaCom] Typo fixup (diff) | |
download | pyload-c9b4f3b9a78904d34d7e58593eacdc26b93c2562.tar.xz |
Make the waiting time work again on OneFichier.com
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index f391445fd..47b713173 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -144,7 +144,7 @@ def _isDirectLink(self, url, resumable=True): class SimpleHoster(Hoster): __name__ = "SimpleHoster" __type__ = "hoster" - __version__ = "0.70" + __version__ = "0.71" __pattern__ = r'^unmatchable$' @@ -412,7 +412,7 @@ class SimpleHoster(Hoster): m = re.search(self.WAIT_PATTERN, self.html) if m: wait_time = sum([int(v) * {"hr": 3600, "hour": 3600, "min": 60, "sec": 1}[u.lower()] for v, u in - re.findall(r'(\d+)\s*(hr|hour|min|sec)', m, re.I)]) + re.findall(r'(\d+)\s*(hr|hour|min|sec)', m.group(0), re.I)]) self.wait(wait_time, False) return |