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/UlozTo.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/UlozTo.py')
-rw-r--r-- | module/plugins/accounts/UlozTo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/UlozTo.py b/module/plugins/accounts/UlozTo.py index 00e125dbc..fdf56dbc3 100644 --- a/module/plugins/accounts/UlozTo.py +++ b/module/plugins/accounts/UlozTo.py @@ -21,7 +21,7 @@ class UlozTo(Account): TRAFFIC_LEFT_PATTERN = r'<li class="menu-kredit"><a .*?title=".+?GB = ([\d.]+) MB"' - def parse_info(self, user, password, data, req): + def grab_info(self, user, password, data, req): html = self.load("http://www.ulozto.net/") m = re.search(self.TRAFFIC_LEFT_PATTERN, html) @@ -46,4 +46,4 @@ class UlozTo(Account): 'remember': "on"}) if '<div class="flash error">' in html: - self.login_fail() + self.fail_login() |