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/UploadedTo.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/UploadedTo.py')
-rw-r--r-- | module/plugins/accounts/UploadedTo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/UploadedTo.py b/module/plugins/accounts/UploadedTo.py index 59d3fcff9..12b141c57 100644 --- a/module/plugins/accounts/UploadedTo.py +++ b/module/plugins/accounts/UploadedTo.py @@ -24,7 +24,7 @@ class UploadedTo(Account): TRAFFIC_LEFT_PATTERN = r'<b class="cB">(?P<S>[\d.,]+) (?P<U>[\w^_]+)' - def parse_info(self, user, password, data, req): + def grab_info(self, user, password, data, req): validuntil = None trafficleft = None premium = None @@ -72,4 +72,4 @@ class UploadedTo(Account): m = re.search(r'"err":"(.+?)"', html) if m is not None: - self.login_fail(m.group(1)) + self.fail_login(m.group(1)) |