diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-18 18:52:10 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-18 18:52:10 +0200 |
commit | 21a0b9663af74c06b2a41a27b06c6fa3881f8a9b (patch) | |
tree | fd18af7948c3d8b83b5b1069f60fed8c7386cd58 /module/plugins/accounts/RapiduNet.py | |
parent | [Extractor] Code cleanup (diff) | |
download | pyload-21a0b9663af74c06b2a41a27b06c6fa3881f8a9b.tar.xz |
Update accounts
Diffstat (limited to 'module/plugins/accounts/RapiduNet.py')
-rw-r--r-- | module/plugins/accounts/RapiduNet.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/accounts/RapiduNet.py b/module/plugins/accounts/RapiduNet.py index c11eb9214..d04d924a3 100644 --- a/module/plugins/accounts/RapiduNet.py +++ b/module/plugins/accounts/RapiduNet.py @@ -4,7 +4,7 @@ import re import time from module.plugins.internal.Account import Account -from module.common.json_layer import json_loads +from module.plugins.internal.utils import json class RapiduNet(Account): @@ -53,14 +53,14 @@ class RapiduNet(Account): post={'_go' : "", 'lang': "en"}) - json = json_loads(self.load("https://rapidu.net/ajax.php", + jso = json.loads(self.load("https://rapidu.net/ajax.php", get={'a': "getUserLogin"}, post={'_go' : "", 'login' : user, 'pass' : password, 'remember': "1"})) - self.log_debug(json) + self.log_debug(jso) - if json['message'] != "success": + if jso['message'] != "success": self.fail_login() |