summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FreakshareCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-11 15:14:28 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-11 15:14:28 +0200
commitf76e5c2336718dca9da8033ba22cd83c72c7b3b3 (patch)
tree5e4152ed534417ba24c04aedfb2a4070ae669372 /module/plugins/accounts/FreakshareCom.py
parent[FileshareInUa] Mark dead (diff)
downloadpyload-f76e5c2336718dca9da8033ba22cd83c72c7b3b3.tar.xz
Pattern update 1
Diffstat (limited to 'module/plugins/accounts/FreakshareCom.py')
-rw-r--r--module/plugins/accounts/FreakshareCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/FreakshareCom.py b/module/plugins/accounts/FreakshareCom.py
index 949e5a8ba..904c3ba3e 100644
--- a/module/plugins/accounts/FreakshareCom.py
+++ b/module/plugins/accounts/FreakshareCom.py
@@ -19,7 +19,7 @@ class FreakshareCom(Account):
def loadAccountInfo(self, user, req):
page = req.load("http://freakshare.com/")
- validuntil = r"ltig bis:</td>\s*<td><b>([0-9 \-:.]+)</b></td>"
+ validuntil = r"ltig bis:</td>\s*<td><b>([\d.:-]+)</b></td>"
validuntil = re.search(validuntil, page, re.MULTILINE)
validuntil = validuntil.group(1).strip()
validuntil = mktime(strptime(validuntil, "%d.%m.%Y - %H:%M"))