summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FilerNet.py
diff options
context:
space:
mode:
authorGravatar jansohn <jansohn@users.noreply.github.com> 2015-10-02 10:09:26 +0200
committerGravatar jansohn <jansohn@users.noreply.github.com> 2015-10-02 10:09:26 +0200
commit3a08656c5665f4b8db98744fb323e64b8630e084 (patch)
tree28f9f62ffc57888b76ca32540dbf5af3a4cfc8d0 /module/plugins/accounts/FilerNet.py
parentMerge pull request #1 from pyload/stable (diff)
parent[Account] Improve parse_traffic method + code cosmetics (diff)
downloadpyload-3a08656c5665f4b8db98744fb323e64b8630e084.tar.xz
Merge pull request #2 from pyload/stable
sync with stable
Diffstat (limited to 'module/plugins/accounts/FilerNet.py')
-rw-r--r--module/plugins/accounts/FilerNet.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/accounts/FilerNet.py b/module/plugins/accounts/FilerNet.py
index 674c7a5dd..96bdebd81 100644
--- a/module/plugins/accounts/FilerNet.py
+++ b/module/plugins/accounts/FilerNet.py
@@ -9,7 +9,7 @@ from module.plugins.internal.Account import Account
class FilerNet(Account):
__name__ = "FilerNet"
__type__ = "account"
- __version__ = "0.07"
+ __version__ = "0.09"
__status__ = "testing"
__description__ = """Filer.net account plugin"""
@@ -23,7 +23,7 @@ class FilerNet(Account):
FREE_PATTERN = r'Account Status</th>\s*<td>\s*Free'
- def parse_info(self, user, password, data, req):
+ def grab_info(self, user, password, data):
html = self.load("https://filer.net/profile")
#: Free user
@@ -43,7 +43,7 @@ class FilerNet(Account):
return {'premium': False, 'validuntil': None, 'trafficleft': None}
- def login(self, user, password, data, req):
+ def signin(self, user, password, data):
html = self.load("https://filer.net/login")
token = re.search(self.TOKEN_PATTERN, html).group(1)
@@ -56,4 +56,4 @@ class FilerNet(Account):
'_target_path': "https://filer.net/"})
if 'Logout' not in html:
- self.login_fail()
+ self.fail_login()