summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/ShareonlineBiz.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-09-06 19:14:02 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-09-06 19:14:02 +0200
commit0b6f0dd36f5b4c02a444825c77cae02cc5066f34 (patch)
tree6efe97789b316dc80f8d62d322ec19d63109b6fd /module/plugins/accounts/ShareonlineBiz.py
parentgui double logging fix (diff)
downloadpyload-0b6f0dd36f5b4c02a444825c77cae02cc5066f34.tar.xz
gui: status translation, core: added scheduler -> better account fetching UploadedTo + ShareonlineBiz account fix
Diffstat (limited to 'module/plugins/accounts/ShareonlineBiz.py')
-rw-r--r--module/plugins/accounts/ShareonlineBiz.py5
1 files changed, 2 insertions, 3 deletions
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:.*?<span class='.*?'>(.*?)</span>", src).group(1)
+ src = req.load("http://www.share-online.biz/alpha/lang/set/english")
+ validuntil = re.search(r"Account valid till:.*?<span class='.*?'>(.*?)</span>", src, re.S).group(1)
validuntil = int(mktime(strptime(validuntil, "%m/%d/%Y, %I:%M:%S %p")))
out = Account.getAccountInfo(self, user)