summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-08-19 02:38:11 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-08-19 02:38:11 +0200
commit52dafac35c3cbfd110746b981afd80da1632a373 (patch)
tree09e17d3d6ea93d9cd0bd175dce7e3f3bb8b8be6a /module/plugins/accounts
parentTemp fix https://github.com/pyload/pyload/pull/1708 (diff)
downloadpyload-52dafac35c3cbfd110746b981afd80da1632a373.tar.xz
Spare plugin updates
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r--module/plugins/accounts/RapidgatorNet.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/accounts/RapidgatorNet.py b/module/plugins/accounts/RapidgatorNet.py
index acd7a547b..2fc266722 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.12"
+ __version__ = "0.13"
__status__ = "testing"
__description__ = """Rapidgator.net account plugin"""
@@ -17,7 +17,7 @@ class RapidgatorNet(Account):
__authors__ = [("zoidberg", "zoidberg@mujmail.cz")]
- API_URL = "http://rapidgator.net/api/user"
+ API_URL = "http://rapidgator.net/api/user/"
def parse_info(self, user, password, data, req):
@@ -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, "user/info"),
+ html = self.load(urlparse.urljoin(self.API_URL, "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, "user/login"),
+ html = self.load(urlparse.urljoin(self.API_URL, "login"),
post={'username': user,
'password': password})