summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-08-18 23:13:47 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-08-18 23:13:47 +0200
commit38129742aad5f7f33e1386686fc85bfa8a1496a9 (patch)
treef3726d14f0d7871be49cb584ab6474d3566d3ace /module/plugins/accounts
parentMerge pull request #1750 from GammaC0de/patch-5 (diff)
parent[accounts/RapidgatorNet] Fixes #1698 (diff)
downloadpyload-38129742aad5f7f33e1386686fc85bfa8a1496a9.tar.xz
Merge pull request #1748 from fayf/stable
[accounts/RapidgatorNet] Fixes #1698
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r--module/plugins/accounts/RapidgatorNet.py6
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})