diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-16 17:31:38 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-24 22:40:32 +0200 |
commit | c1764e2fea0bb05164c83a876e8cd58b97f58f25 (patch) | |
tree | be1af8dbf5542d93f1cb97f07dd1793fc7acc2df /module/plugins/internal/SolveMedia.py | |
parent | [SimpleHoster] fixurl (diff) | |
download | pyload-c1764e2fea0bb05164c83a876e8cd58b97f58f25.tar.xz |
Update all
Diffstat (limited to 'module/plugins/internal/SolveMedia.py')
-rw-r--r-- | module/plugins/internal/SolveMedia.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/SolveMedia.py b/module/plugins/internal/SolveMedia.py index d600ef03c..dde6223ed 100644 --- a/module/plugins/internal/SolveMedia.py +++ b/module/plugins/internal/SolveMedia.py @@ -35,7 +35,7 @@ class SolveMedia(Captcha): def challenge(self, key=None, html=None): key = key or self.retrieve_key(html) - html = self.plugin.req.load("http://api.solvemedia.com/papi/challenge.noscript", + html = self.plugin.load("http://api.solvemedia.com/papi/challenge.noscript", get={'k': key}) for i in xrange(1, 11): @@ -64,7 +64,7 @@ class SolveMedia(Captcha): self.plugin.invalidCaptcha() result = None - html = self.plugin.req.load("http://api.solvemedia.com/papi/verify.noscript", + html = self.plugin.load("http://api.solvemedia.com/papi/verify.noscript", post={'adcopy_response' : result, 'k' : key, 'l' : "en", @@ -83,7 +83,7 @@ class SolveMedia(Captcha): if "error" in html: self.logWarning("Captcha code was invalid") self.logDebug("Retry #%d" % i) - html = self.plugin.req.load(redirect) + html = self.plugin.load(redirect) else: break |