summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r--module/plugins/accounts/HotfileCom.py3
-rw-r--r--module/plugins/accounts/UploadedTo.py2
2 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/accounts/HotfileCom.py b/module/plugins/accounts/HotfileCom.py
index 83551949d..f623e56f1 100644
--- a/module/plugins/accounts/HotfileCom.py
+++ b/module/plugins/accounts/HotfileCom.py
@@ -19,7 +19,6 @@
from module.plugins.Account import Account
from time import strptime, mktime
-from urllib import unquote
import hashlib
class HotfileCom(Account):
@@ -69,7 +68,7 @@ class HotfileCom(Account):
post.update({"action": method})
post.update({"username":user, "passwordmd5dig":pwhash, "digest":digest})
- return unquote(req.load("http://api.hotfile.com/", post=post)).strip()
+ return req.load("http://api.hotfile.com/", post=post)
def login(self, user, data):
req = self.getAccountRequest(user)
diff --git a/module/plugins/accounts/UploadedTo.py b/module/plugins/accounts/UploadedTo.py
index 9b51f5aad..4c45fb6fc 100644
--- a/module/plugins/accounts/UploadedTo.py
+++ b/module/plugins/accounts/UploadedTo.py
@@ -41,7 +41,7 @@ class UploadedTo(Account):
return tmp
def login(self, user, data):
- req = self.getAccountRequest()
+ req = self.getAccountRequest(user)
page = req.load("http://uploaded.to/login", post={ "email" : user, "password" : data["password"]}, cookies=True)
if "Login failed!" in page:
self.wrongPassword()