diff options
author | Andrew Ching <fayf86@gmail.com> | 2015-08-12 04:55:20 +0200 |
---|---|---|
committer | Andrew Ching <fayf86@gmail.com> | 2015-08-12 08:15:20 +0200 |
commit | 3d9db13b7ea612f1d78d36f1ce7d6236f9821de8 (patch) | |
tree | 699988ce0dba0ce689413a937e4b703b9039f9eb /module/plugins/accounts | |
parent | Fix https://github.com/pyload/pyload/issues/1707 (diff) | |
download | pyload-3d9db13b7ea612f1d78d36f1ce7d6236f9821de8.tar.xz |
[accounts/RapidgatorNet] Fixes #1698
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r-- | module/plugins/accounts/RapidgatorNet.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/RapidgatorNet.py b/module/plugins/accounts/RapidgatorNet.py index 5ce51a1ec..acd7a547b 100644 --- a/module/plugins/accounts/RapidgatorNet.py +++ b/module/plugins/accounts/RapidgatorNet.py @@ -9,7 +9,7 @@ from module.common.json_layer import json_loads class RapidgatorNet(Account): __name__ = "RapidgatorNet" __type__ = "account" - __version__ = "0.11" + __version__ = "0.12" __status__ = "testing" __description__ = """Rapidgator.net account plugin""" @@ -30,7 +30,7 @@ class RapidgatorNet(Account): sid = self.get_data(user).get('sid', None) assert sid - html = self.load(urlparse.urljoin(self.API_URL, "info"), + html = self.load(urlparse.urljoin(self.API_URL, "user/info"), get={'sid': sid}) self.log_debug("API:USERINFO", html) @@ -58,7 +58,7 @@ class RapidgatorNet(Account): def login(self, user, password, data, req): try: - html = self.load(urlparse.urljoin(self.API_URL, "login"), + html = self.load(urlparse.urljoin(self.API_URL, "user/login"), post={'username': user, 'password': password}) |