summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-09-01 21:22:43 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-09-01 21:22:43 +0200
commit1903b395f58f429bd04ae3a3a6877f279d82d4ec (patch)
treeed0c2b7e4b2a2658e1411bcaf31701d3229190aa /module/plugins/accounts
parentmegaupload.com - first fix (file temporary not available error) (diff)
downloadpyload-1903b395f58f429bd04ae3a3a6877f279d82d4ec.tar.xz
ul.to fix, gui refresh online status
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r--module/plugins/accounts/UploadedTo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/UploadedTo.py b/module/plugins/accounts/UploadedTo.py
index 1311ee809..03def59a9 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://uploaded.to/", cookies=True)
+ html = req.load("http://ul.to/", 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://uploaded.to/login", None, { "email" : user, "password" : data["password"]}, cookies=True)
+ req.load("http://ul.to/login", post={ "email" : user, "password" : data["password"]}, cookies=True)