summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FilesMailRu.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/FilesMailRu.py')
-rw-r--r--module/plugins/accounts/FilesMailRu.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/accounts/FilesMailRu.py b/module/plugins/accounts/FilesMailRu.py
index 7ed09e731..551a7b8e5 100644
--- a/module/plugins/accounts/FilesMailRu.py
+++ b/module/plugins/accounts/FilesMailRu.py
@@ -6,7 +6,7 @@ from module.plugins.internal.Account import Account
class FilesMailRu(Account):
__name__ = "FilesMailRu"
__type__ = "account"
- __version__ = "0.13"
+ __version__ = "0.15"
__status__ = "testing"
__description__ = """Filesmail.ru account plugin"""
@@ -14,11 +14,11 @@ class FilesMailRu(Account):
__authors__ = [("RaNaN", "RaNaN@pyload.org")]
- def parse_info(self, user, password, data, req):
+ def grab_info(self, user, password, data):
return {'validuntil': None, 'trafficleft': None}
- def login(self, user, password, data, req):
+ def signin(self, user, password, data):
user, domain = user.split("@")
html = self.load("https://swa.mail.ru/cgi-bin/auth",
@@ -28,4 +28,4 @@ class FilesMailRu(Account):
'Page' : "http://files.mail.ru/"})
if "Неверное имя пользователя или пароль" in html:
- self.login_fail()
+ self.fail_login()