summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/AlldebridCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-09-21 00:54:03 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-09-21 00:54:03 +0200
commit97d25752691aa561c29a91166fdd30302bef2db2 (patch)
treee397bf78d74dcce50cec0f6d46eb414b7a6696f7 /module/plugins/accounts/AlldebridCom.py
parentMerge branch 'pr/n1788_GammaC0de' into stable (diff)
downloadpyload-97d25752691aa561c29a91166fdd30302bef2db2.tar.xz
[Account] parse_info -> grab_info
Diffstat (limited to 'module/plugins/accounts/AlldebridCom.py')
-rw-r--r--module/plugins/accounts/AlldebridCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/AlldebridCom.py b/module/plugins/accounts/AlldebridCom.py
index 6a2f09c9c..a468b5b99 100644
--- a/module/plugins/accounts/AlldebridCom.py
+++ b/module/plugins/accounts/AlldebridCom.py
@@ -20,7 +20,7 @@ class AlldebridCom(Account):
__authors__ = [("Andy Voigt", "spamsales@online.de")]
- def parse_info(self, user, password, data, req):
+ def grab_info(self, user, password, data, req):
data = self.get_data(user)
html = self.load("http://www.alldebrid.com/account/")
soup = BeautifulSoup.BeautifulSoup(html)
@@ -63,4 +63,4 @@ class AlldebridCom(Account):
if "This login doesn't exist" in html \
or "The password is not valid" in html \
or "Invalid captcha" in html:
- self.login_fail()
+ self.fail_login()