diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-28 16:04:10 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-28 16:04:10 +0100 |
commit | 8b3589dd394d81177bf4680dddb5bdb9506b89ea (patch) | |
tree | f9e4b92955fe2577ef25e7bf07911bda3b5d7590 /module/plugins/crypter | |
parent | [SimpleHoster] Improve wait method (diff) | |
download | pyload-8b3589dd394d81177bf4680dddb5bdb9506b89ea.tar.xz |
Update plugins to last changes
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r-- | module/plugins/crypter/ShareLinksBiz.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/module/plugins/crypter/ShareLinksBiz.py b/module/plugins/crypter/ShareLinksBiz.py index f45aa4570..7c4d769c6 100644 --- a/module/plugins/crypter/ShareLinksBiz.py +++ b/module/plugins/crypter/ShareLinksBiz.py @@ -124,9 +124,7 @@ class ShareLinksBiz(Crypter): href = self._resolveCoords(coords, captchaMap) if href is None: self.invalidCaptcha() - self.setWait(5, False) - self.wait() - self.retry() + self.retry(wait_time=5) url = self.baseUrl + href self.html = self.load(url, decode=True) @@ -156,9 +154,7 @@ class ShareLinksBiz(Crypter): if self.captcha: if "Your choice was wrong" in self.html: self.invalidCaptcha() - self.setWait(5) - self.wait() - self.retry() + self.retry(wait_time=5) else: self.correctCaptcha() |