diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-09-21 00:54:03 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-09-21 00:54:03 +0200 |
commit | 97d25752691aa561c29a91166fdd30302bef2db2 (patch) | |
tree | e397bf78d74dcce50cec0f6d46eb414b7a6696f7 /module/plugins/accounts/YibaishiwuCom.py | |
parent | Merge branch 'pr/n1788_GammaC0de' into stable (diff) | |
download | pyload-97d25752691aa561c29a91166fdd30302bef2db2.tar.xz |
[Account] parse_info -> grab_info
Diffstat (limited to 'module/plugins/accounts/YibaishiwuCom.py')
-rw-r--r-- | module/plugins/accounts/YibaishiwuCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/YibaishiwuCom.py b/module/plugins/accounts/YibaishiwuCom.py index c5dda0921..48c7b65bd 100644 --- a/module/plugins/accounts/YibaishiwuCom.py +++ b/module/plugins/accounts/YibaishiwuCom.py @@ -19,7 +19,7 @@ class YibaishiwuCom(Account): ACCOUNT_INFO_PATTERN = r'var USER_PERMISSION = {(.*?)}' - def parse_info(self, user, password, data, req): + def grab_info(self, user, password, data, req): # self.relogin(user) html = self.load("http://115.com/") @@ -37,4 +37,4 @@ class YibaishiwuCom(Account): "login[passwd]" : password}) if not 'var USER_PERMISSION = {' in html: - self.login_fail() + self.fail_login() |