summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/RapidgatorNet.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-16 17:31:38 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-24 22:40:32 +0200
commitc1764e2fea0bb05164c83a876e8cd58b97f58f25 (patch)
treebe1af8dbf5542d93f1cb97f07dd1793fc7acc2df /module/plugins/accounts/RapidgatorNet.py
parent[SimpleHoster] fixurl (diff)
downloadpyload-c1764e2fea0bb05164c83a876e8cd58b97f58f25.tar.xz
Update all
Diffstat (limited to 'module/plugins/accounts/RapidgatorNet.py')
-rw-r--r--module/plugins/accounts/RapidgatorNet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/RapidgatorNet.py b/module/plugins/accounts/RapidgatorNet.py
index 94692da76..c14490dd5 100644
--- a/module/plugins/accounts/RapidgatorNet.py
+++ b/module/plugins/accounts/RapidgatorNet.py
@@ -27,7 +27,7 @@ class RapidgatorNet(Account):
sid = self.getAccountData(user).get('sid', None)
assert sid
- html = req.load("%s/info" % self.API_URL, get={'sid': sid})
+ html = self.load("%s/info" % self.API_URL, get={'sid': sid}, req=req)
self.logDebug("API:USERINFO", html)
@@ -54,7 +54,7 @@ class RapidgatorNet(Account):
def login(self, user, data, req):
try:
- html = req.load('%s/login' % self.API_URL, post={"username": user, "password": data['password']})
+ html = self.load('%s/login' % self.API_URL, post={"username": user, "password": data['password']}, req=req)
self.logDebug("API:LOGIN", html)