diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-11 15:14:28 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-11 15:14:28 +0200 |
commit | f76e5c2336718dca9da8033ba22cd83c72c7b3b3 (patch) | |
tree | 5e4152ed534417ba24c04aedfb2a4070ae669372 /module/plugins/hoster/FreakshareCom.py | |
parent | [FileshareInUa] Mark dead (diff) | |
download | pyload-f76e5c2336718dca9da8033ba22cd83c72c7b3b3.tar.xz |
Pattern update 1
Diffstat (limited to 'module/plugins/hoster/FreakshareCom.py')
-rw-r--r-- | module/plugins/hoster/FreakshareCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/FreakshareCom.py b/module/plugins/hoster/FreakshareCom.py index 808ca1ab0..df06f2e74 100644 --- a/module/plugins/hoster/FreakshareCom.py +++ b/module/plugins/hoster/FreakshareCom.py @@ -132,7 +132,7 @@ class FreakshareCom(Hoster): self.wantReconnect = True return secondsToMidnight(gmt=2) - timestring = re.search('\s*var\s(?:downloadWait|time)\s=\s(\d*)[.\d]*;', self.html) + timestring = re.search('\s*var\s(?:downloadWait|time)\s=\s(\d*)[\d.]*;', self.html) if timestring: return int(timestring.group(1)) + 1 # add 1 sec as tenths of seconds are cut off else: @@ -166,7 +166,7 @@ class FreakshareCom(Hoster): # comment this in, when it doesnt work as well #print "\n\n%s\n\n" % ";".join(["%s=%s" % x for x in to_sort]) - challenge = re.search(r"http://api\.recaptcha\.net/challenge\?k=([0-9A-Za-z]+)", herewego) + challenge = re.search(r"http://api\.recaptcha\.net/challenge\?k=(\w+)", herewego) if challenge: re_captcha = ReCaptcha(self) |