summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/UpstoreNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/hoster/UpstoreNet.py')
-rw-r--r--pyload/plugins/hoster/UpstoreNet.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/plugins/hoster/UpstoreNet.py b/pyload/plugins/hoster/UpstoreNet.py
index bd4241532..f7083f820 100644
--- a/pyload/plugins/hoster/UpstoreNet.py
+++ b/pyload/plugins/hoster/UpstoreNet.py
@@ -52,9 +52,9 @@ class UpstoreNet(SimpleHoster):
self.wait(wait_time)
# then, handle the captcha
- challenge, code = recaptcha.challenge()
- post_data['recaptcha_challenge_field'] = challenge
- post_data['recaptcha_response_field'] = code
+ challenge, response = recaptcha.challenge()
+ post_data.update({'recaptcha_challenge_field': challenge,
+ 'recaptcha_response_field' : response})
self.html = self.load(self.pyfile.url, post=post_data, decode=True)