summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FilesMailRu.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-16 17:31:38 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-24 22:40:32 +0200
commitc1764e2fea0bb05164c83a876e8cd58b97f58f25 (patch)
treebe1af8dbf5542d93f1cb97f07dd1793fc7acc2df /module/plugins/accounts/FilesMailRu.py
parent[SimpleHoster] fixurl (diff)
downloadpyload-c1764e2fea0bb05164c83a876e8cd58b97f58f25.tar.xz
Update all
Diffstat (limited to 'module/plugins/accounts/FilesMailRu.py')
-rw-r--r--module/plugins/accounts/FilesMailRu.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/accounts/FilesMailRu.py b/module/plugins/accounts/FilesMailRu.py
index 3f9068fff..a1f86f7b5 100644
--- a/module/plugins/accounts/FilesMailRu.py
+++ b/module/plugins/accounts/FilesMailRu.py
@@ -20,12 +20,11 @@ class FilesMailRu(Account):
def login(self, user, data, req):
user, domain = user.split("@")
- html = req.load("https://swa.mail.ru/cgi-bin/auth",
+ html = self.load("https://swa.mail.ru/cgi-bin/auth",
post={"Domain": domain,
"Login": user,
"Password": data['password'],
- "Page": "http://files.mail.ru/"},
- decode=True)
+ "Page": "http://files.mail.ru/"}, req=req)
if "Неверное имя пользователя или пароль" in html:
self.wrongPassword()