diff options
author | Stefano <l.stickell@yahoo.it> | 2013-08-03 21:07:24 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-08-03 21:07:24 +0200 |
commit | 2a42a2926974b5e9c184e23da88c9b3da04c8d2b (patch) | |
tree | ecc277e866298e7ab8b9edd476eee685d0c400ea /module/plugins/accounts | |
parent | ExtabitCom: fixed #212 (diff) | |
download | pyload-2a42a2926974b5e9c184e23da88c9b3da04c8d2b.tar.xz |
DepositfilesCom: fix for #214
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r-- | module/plugins/accounts/DepositfilesCom.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/module/plugins/accounts/DepositfilesCom.py b/module/plugins/accounts/DepositfilesCom.py index 177d7267f..5f2408e72 100644 --- a/module/plugins/accounts/DepositfilesCom.py +++ b/module/plugins/accounts/DepositfilesCom.py @@ -25,20 +25,19 @@ from module.plugins.Account import Account class DepositfilesCom(Account): __name__ = "DepositfilesCom" - __version__ = "0.1" + __version__ = "0.2" __type__ = "account" __description__ = """depositfiles.com account plugin""" - __author_name__ = ("mkaay") - __author_mail__ = ("mkaay@mkaay.de") + __author_name__ = ("mkaay", "stickell") + __author_mail__ = ("mkaay@mkaay.de", "l.stickell@yahoo.it") def loadAccountInfo(self, user, req): src = req.load("http://depositfiles.com/de/gold/") - validuntil = re.search("noch den Gold-Zugriff: <b>(.*?)</b></div>", src).group(1) + validuntil = re.search(r"Sie haben Gold Zugang bis: <b>(.*?)</b></div>", src).group(1) validuntil = int(mktime(strptime(validuntil, "%Y-%m-%d %H:%M:%S"))) - tmp = {"validuntil": validuntil, "trafficleft": -1} - return tmp + return {"validuntil": validuntil, "trafficleft": -1} def login(self, user, data, req): req.load("http://depositfiles.com/de/gold/payment.php") |