From 0b6f0dd36f5b4c02a444825c77cae02cc5066f34 Mon Sep 17 00:00:00 2001 From: mkaay Date: Mon, 6 Sep 2010 19:14:02 +0200 Subject: gui: status translation, core: added scheduler -> better account fetching UploadedTo + ShareonlineBiz account fix --- module/plugins/accounts/ShareonlineBiz.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'module/plugins/accounts/ShareonlineBiz.py') diff --git a/module/plugins/accounts/ShareonlineBiz.py b/module/plugins/accounts/ShareonlineBiz.py index 15802c8e2..2eb78bf43 100644 --- a/module/plugins/accounts/ShareonlineBiz.py +++ b/module/plugins/accounts/ShareonlineBiz.py @@ -32,9 +32,8 @@ class ShareonlineBiz(Account): def getAccountInfo(self, user): try: req = self.core.requestFactory.getRequest(self.__name__, user) - src = req.load("https://www.share-online.biz/alpha/user/profile") - - validuntil = re.search(r"Account gültig bis:.*?(.*?)", src).group(1) + src = req.load("http://www.share-online.biz/alpha/lang/set/english") + validuntil = re.search(r"Account valid till:.*?(.*?)", src, re.S).group(1) validuntil = int(mktime(strptime(validuntil, "%m/%d/%Y, %I:%M:%S %p"))) out = Account.getAccountInfo(self, user) -- cgit v1.2.3