summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-06-04 23:24:05 +0200
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-06-04 23:24:05 +0200
commit64917a9bf552ef3a499730a945312e764aca03b9 (patch)
treef6cbb2e3309682ecd9b7f68ba26519d0e2034e72
parent[UlozTo] Version up (diff)
downloadpyload-64917a9bf552ef3a499730a945312e764aca03b9.tar.xz
[FilerNet] Fix #2489
-rw-r--r--module/plugins/hoster/FilerNet.py13
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']})