diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-23 00:50:23 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-23 00:50:23 +0200 |
commit | 7b67f68c1636014fe02286da71bdc6c13dc3eeee (patch) | |
tree | fce6a94fd3091c6f917acafcc53e71bd08097d5c /module/plugins/hoster/MediafireCom.py | |
parent | [XFSPAccount] Better HOSTER_URL (diff) | |
download | pyload-7b67f68c1636014fe02286da71bdc6c13dc3eeee.tar.xz |
Simplify captcha challenge calls
Diffstat (limited to 'module/plugins/hoster/MediafireCom.py')
-rw-r--r-- | module/plugins/hoster/MediafireCom.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/module/plugins/hoster/MediafireCom.py b/module/plugins/hoster/MediafireCom.py index 31b85b433..20ca6753d 100644 --- a/module/plugins/hoster/MediafireCom.py +++ b/module/plugins/hoster/MediafireCom.py @@ -116,11 +116,6 @@ class MediafireCom(SimpleHoster): def checkCaptcha(self): solvemedia = SolveMedia(self) - - captcha_key = solvemedia.detect_key() - if captcha_key is None: - self.error("SolveMedia key not found") - - captcha_challenge, captcha_response = solvemedia.challenge(captcha_key) + captcha_challenge, captcha_response = solvemedia.challenge() self.html = self.load(self.url, post={"adcopy_challenge": captcha_challenge, "adcopy_response": captcha_response}, decode=True) |