summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/UploadedTo.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-05-07 17:50:26 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-05-07 17:50:26 +0200
commit58f36fc058e6f566ecffc395f09419f34ece50a9 (patch)
tree65bdc68d6110fc371446c99685dabb18156a1f0d /module/plugins/accounts/UploadedTo.py
parentUploadedTo account plugin (diff)
downloadpyload-58f36fc058e6f566ecffc395f09419f34ece50a9.tar.xz
new server method for premium accounts
Diffstat (limited to 'module/plugins/accounts/UploadedTo.py')
-rw-r--r--module/plugins/accounts/UploadedTo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/UploadedTo.py b/module/plugins/accounts/UploadedTo.py
index 9c0d90747..a56082657 100644
--- a/module/plugins/accounts/UploadedTo.py
+++ b/module/plugins/accounts/UploadedTo.py
@@ -42,7 +42,7 @@ class UploadedTo(Account):
raw_valid = re.search(r"Valid until: </span> <span class=.*?>(.*?)</span>", html).group(1)
traffic = int(self.parseTraffic(raw_traffic))
validuntil = int(mktime(strptime(raw_valid.strip(), "%d-%m-%Y %H:%M")))
- return {"login":name, "validuntil":validuntil, "trafficleft":traffic}
+ return {"login":name, "validuntil":validuntil, "trafficleft":traffic, "type":self.__name__}
def login(self):
for account in self.accounts: