diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-02 21:24:00 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-02 21:24:00 +0200 |
commit | e17394d4fd0a70369ac424895a56a0b279dc9495 (patch) | |
tree | 7b042bcd06cfde5a9dc1d315ec43f871588fa365 | |
parent | [OneFichierCom] Fix typo (diff) | |
download | pyload-e17394d4fd0a70369ac424895a56a0b279dc9495.tar.xz |
[OneFichierCom] Fix waiting again
-rw-r--r-- | module/plugins/hoster/OneFichierCom.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/OneFichierCom.py b/module/plugins/hoster/OneFichierCom.py index 6cec7a9c4..af5d97878 100644 --- a/module/plugins/hoster/OneFichierCom.py +++ b/module/plugins/hoster/OneFichierCom.py @@ -8,7 +8,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class OneFichierCom(SimpleHoster): __name__ = "OneFichierCom" __type__ = "hoster" - __version__ = "0.63" + __version__ = "0.64" __pattern__ = r'https?://(?P<ID>\w+)\.(?P<HOST>(1fichier|d(es)?fichiers|pjointe)\.(com|fr|net|org)|(cjoint|mesfichiers|piecejointe|oi)\.(org|net)|tenvoi\.(com|org|net)|dl4free\.com|alterupload\.com|megadl\.fr)' @@ -36,9 +36,9 @@ class OneFichierCom(SimpleHoster): self.html = self.load(self.pyfile.url, decode=True) m = re.search(self.WAIT_PATTERN, self.html) if m: - wait_time = int(m.group(1)) + 1 * 60 #: One minute more than what the page displays to be safe + wait_time = int(m.group(1)) + 1 #: One minute more than what the page displays to be safe self.logInfo("You have to wait been each free download", "Retrying in %d minutes." % wait_time) - self.wait(wait_time, True) + self.wait(wait_time * 60, True) self.retry() url, inputs = self.parseHtmlForm('action="http://%s' % self.file_info['ID']) |