diff options
author | mkaay <mkaay@mkaay.de> | 2010-09-06 19:14:02 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-09-06 19:14:02 +0200 |
commit | 0b6f0dd36f5b4c02a444825c77cae02cc5066f34 (patch) | |
tree | 6efe97789b316dc80f8d62d322ec19d63109b6fd /module/plugins/accounts/UploadedTo.py | |
parent | gui double logging fix (diff) | |
download | pyload-0b6f0dd36f5b4c02a444825c77cae02cc5066f34.tar.xz |
gui: status translation, core: added scheduler -> better account fetching UploadedTo + ShareonlineBiz account fix
Diffstat (limited to 'module/plugins/accounts/UploadedTo.py')
-rw-r--r-- | module/plugins/accounts/UploadedTo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/UploadedTo.py b/module/plugins/accounts/UploadedTo.py index e2a977d03..99141f20a 100644 --- a/module/plugins/accounts/UploadedTo.py +++ b/module/plugins/accounts/UploadedTo.py @@ -38,7 +38,7 @@ class UploadedTo(Account): if not data: raise Exception req = self.core.requestFactory.getRequest(self.__name__, user) - html = req.load("http://ul.to/", cookies=True) + html = req.load("http://uploaded.to/?setlang=en", cookies=True) raw_traffic = re.search(r"Traffic left: </span><span class=.*?>(.*?)</span>", html).group(1) raw_valid = re.search(r"Valid until: </span> <span class=.*?>(.*?)</span>", html).group(1) traffic = int(self.parseTraffic(raw_traffic)) @@ -52,4 +52,4 @@ class UploadedTo(Account): def login(self, user, data): req = self.core.requestFactory.getRequest(self.__name__, user) - req.load("http://ul.to/login", post={ "email" : user, "password" : data["password"]}, cookies=True) + req.load("http://uploaded.to/login", post={ "email" : user, "password" : data["password"]}, cookies=True) |