diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-31 20:36:19 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-31 20:36:19 +0200 |
commit | dcb1894e0c708df0677187355c6743c08ac44c26 (patch) | |
tree | 9edd4c4eccde099a95edc8d7436dce8b92e3aba0 /module/plugins/crypter | |
parent | ShareLinksBiz decrypter (diff) | |
download | pyload-dcb1894e0c708df0677187355c6743c08ac44c26.tar.xz |
fixed positional captchas + availbillity over thrift
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r-- | module/plugins/crypter/ShareLinksBiz.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/crypter/ShareLinksBiz.py b/module/plugins/crypter/ShareLinksBiz.py index 407d2ff56..fef10b7f1 100644 --- a/module/plugins/crypter/ShareLinksBiz.py +++ b/module/plugins/crypter/ShareLinksBiz.py @@ -106,10 +106,11 @@ class ShareLinksBiz(Crypter): # Resolve captcha
href = self._resolveCoords(coords, captchaMap)
- if href == None:
+ if href is None:
self.log.debug("%s: Invalid captcha resolving, retrying" % self.__name__)
self.invalidCaptcha()
- self.wait(5)
+ self.setWait(5, False)
+ self.wait()
self.retry()
url = self.baseUrl + href
self.html = self.load(url)
|