diff options
author | 2015-04-16 22:33:28 +0200 | |
---|---|---|
committer | 2015-04-16 22:33:28 +0200 | |
commit | 21c2ac71d045ae50a705d8ab0ac1e960d462e001 (patch) | |
tree | 896ff1eaae9151d83be150735c96a37a61d2d038 /pyload/plugin/hoster/FilerNet.py | |
parent | fixed: more typos (diff) | |
parent | Merge pull request #5 from ardi69/0.4.10 (diff) | |
download | pyload-21c2ac71d045ae50a705d8ab0ac1e960d462e001.tar.xz |
Merge pull request #2 from vuolter/0.4.10
merge from vuolter
Diffstat (limited to 'pyload/plugin/hoster/FilerNet.py')
-rw-r--r-- | pyload/plugin/hoster/FilerNet.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pyload/plugin/hoster/FilerNet.py b/pyload/plugin/hoster/FilerNet.py index f9b38e8cb..86a5809da 100644 --- a/pyload/plugin/hoster/FilerNet.py +++ b/pyload/plugin/hoster/FilerNet.py @@ -48,13 +48,9 @@ class FilerNet(SimpleHoster): recaptcha = ReCaptcha(self) response, challenge = recaptcha.challenge() - #@NOTE: Work-around for v0.4.9 just_header issue - #@TODO: Check for v0.4.10 - self.req.http.c.setopt(pycurl.FOLLOWLOCATION, 0) self.load(pyfile.url, post={'recaptcha_challenge_field': challenge, 'recaptcha_response_field': response, - 'hash': inputs['hash']}) - self.req.http.c.setopt(pycurl.FOLLOWLOCATION, 1) + 'hash': inputs['hash']}, follow_location=False) if 'location' in self.req.http.header.lower(): self.link = re.search(r'location: (\S+)', self.req.http.header, re.I).group(1) |