diff options
author | fragonib <devnull@localhost> | 2011-04-30 16:40:46 +0200 |
---|---|---|
committer | fragonib <devnull@localhost> | 2011-04-30 16:40:46 +0200 |
commit | 09cc67ef13cbbee559073641d1e14fed4d68aefb (patch) | |
tree | 93b799e36787e6b8258d78c4db5f1aaeecef6aea /module | |
parent | NCryptIn: Improved support (diff) | |
download | pyload-09cc67ef13cbbee559073641d1e14fed4d68aefb.tar.xz |
UploadStation & BitshareCom: #295
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/hoster/BitshareCom.py | 2 | ||||
-rw-r--r-- | module/plugins/hoster/UploadStationCom.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/hoster/BitshareCom.py b/module/plugins/hoster/BitshareCom.py index c552cdd9d..d811c02a4 100644 --- a/module/plugins/hoster/BitshareCom.py +++ b/module/plugins/hoster/BitshareCom.py @@ -138,7 +138,7 @@ class BitshareCom(Hoster): def handleCaptchaErrors(self, response): self.log.debug("%s: Result of captcha resolving [%s]" % (self.__name__, response)) if "SUCCESS" in response: + self.correctCaptcha() return True - self.log.debug("%s: Wrong captcha" % self.__name__) self.invalidCaptcha()
\ No newline at end of file diff --git a/module/plugins/hoster/UploadStationCom.py b/module/plugins/hoster/UploadStationCom.py index 8a97a864a..b45472747 100644 --- a/module/plugins/hoster/UploadStationCom.py +++ b/module/plugins/hoster/UploadStationCom.py @@ -148,6 +148,8 @@ class UploadStationCom(Hoster): self.log.info("%s: Invalid captcha response, retrying." % (self.__name__))
self.invalidCaptcha()
self.retry()
+ else:
+ self.correctCaptcha()
def handleDownloadedFile(self):
check = self.checkDownload({"wait": re.compile(UploadStationCom.TIME_LIMIT_WAIT_PATTERN)})
|