diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-17 12:11:48 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-17 12:11:48 +0200 |
commit | 176ea02324b55cdb4f4ba27340510c8f1f77b0ed (patch) | |
tree | c8a088269c115f6f96703dd424bb80bb38802234 /module/plugins/hoster/HotfileCom.py | |
parent | hotfile improvements (diff) | |
download | pyload-176ea02324b55cdb4f4ba27340510c8f1f77b0ed.tar.xz |
hotfile + freakshare fix
Diffstat (limited to 'module/plugins/hoster/HotfileCom.py')
-rw-r--r-- | module/plugins/hoster/HotfileCom.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/hoster/HotfileCom.py b/module/plugins/hoster/HotfileCom.py index 691b2b8c0..2f752d01f 100644 --- a/module/plugins/hoster/HotfileCom.py +++ b/module/plugins/hoster/HotfileCom.py @@ -6,6 +6,7 @@ from time import time from module.plugins.Hoster import Hoster from module.plugins.ReCaptcha import ReCaptcha + class HotfileCom(Hoster): __name__ = "HotfileCom" __type__ = "hoster" @@ -76,10 +77,10 @@ class HotfileCom(Hoster): challenge, result = re_captcha.challenge(challenge.group(1)) url = re.search(r'<form action="(/dl/[^"]+)', self.html[1] ) - + self.html[1] = self.load("http://hotfile.com"+url.group(1), post={"action": "checkcaptcha", - "recaptcha_challenge_field" : result, - "recaptcha_response_field": "manual_challenge"}) + "recaptcha_challenge_field" : challenge, + "recaptcha_response_field": result}) if "Wrong Code. Please try again." in self.html[1]: self.get_file_url() |