diff options
Diffstat (limited to 'pyload/plugins/account/FilesMailRu.py')
-rw-r--r-- | pyload/plugins/account/FilesMailRu.py | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/pyload/plugins/account/FilesMailRu.py b/pyload/plugins/account/FilesMailRu.py deleted file mode 100644 index 4a829be89..000000000 --- a/pyload/plugins/account/FilesMailRu.py +++ /dev/null @@ -1,28 +0,0 @@ -# -*- coding: utf-8 -*- - -from pyload.plugins.Account import Account - - -class FilesMailRu(Account): - __name = "FilesMailRu" - __type = "account" - __version = "0.10" - - __description = """Filesmail.ru account plugin""" - __license = "GPLv3" - __authors = [("RaNaN", "RaNaN@pyload.org")] - - - def loadAccountInfo(self, user, req): - return {"validuntil": None, "trafficleft": None} - - - def login(self, user, data, req): - user, domain = user.split("@") - - page = req.load("http://swa.mail.ru/cgi-bin/auth", None, - {"Domain": domain, "Login": user, "Password": data['password'], - "Page": "http://files.mail.ru/"}, cookies=True) - - if "Неверное имя пользователя или пароль" in page: # @TODO seems not to work - self.wrongPassword() |