diff options
author | Nitzo <nitzo2001@yahoo.com> | 2016-06-04 23:24:05 +0200 |
---|---|---|
committer | Nitzo <nitzo2001@yahoo.com> | 2016-06-04 23:24:05 +0200 |
commit | 64917a9bf552ef3a499730a945312e764aca03b9 (patch) | |
tree | f6cbb2e3309682ecd9b7f68ba26519d0e2034e72 | |
parent | [UlozTo] Version up (diff) | |
download | pyload-64917a9bf552ef3a499730a945312e764aca03b9.tar.xz |
[FilerNet] Fix #2489
-rw-r--r-- | module/plugins/hoster/FilerNet.py | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/module/plugins/hoster/FilerNet.py b/module/plugins/hoster/FilerNet.py index a1ad5d8c9..cc4788772 100644 --- a/module/plugins/hoster/FilerNet.py +++ b/module/plugins/hoster/FilerNet.py @@ -32,7 +32,7 @@ class FilerNet(SimpleHoster): INFO_PATTERN = r'<h1 class="page-header">Free Download (?P<N>\S+) <small>(?P<S>[\w.]+) (?P<U>[\w^_]+)</small></h1>' OFFLINE_PATTERN = r'Nicht gefunden' - WAIT_PATTERN = r'musst du <span id="time">(\d+)' + WAIT_PATTERN = r'var count = (\d+);' LINK_FREE_PATTERN = LINK_PREMIUM_PATTERN = r'href="([^"]+)">Get download</a>' @@ -51,10 +51,7 @@ class FilerNet(SimpleHoster): self.captcha = ReCaptcha(pyfile) response, challenge = self.captcha.challenge() - header = self.load(pyfile.url, - post={'recaptcha_challenge_field': challenge, - 'recaptcha_response_field' : response, - 'hash' : inputs['hash']}, - just_header=True) - - self.link = header.get('location') + self.download(pyfile.url, + post={'recaptcha_challenge_field': challenge, + 'recaptcha_response_field' : response, + 'hash' : inputs['hash']}) |