summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/OverLoadMe.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/OverLoadMe.py
parent[SimpleHoster] fixurl (diff)
downloadpyload-c1764e2fea0bb05164c83a876e8cd58b97f58f25.tar.xz
Update all
Diffstat (limited to 'module/plugins/accounts/OverLoadMe.py')
-rw-r--r--module/plugins/accounts/OverLoadMe.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/accounts/OverLoadMe.py b/module/plugins/accounts/OverLoadMe.py
index 82f4d9240..e7e1b71e1 100644
--- a/module/plugins/accounts/OverLoadMe.py
+++ b/module/plugins/accounts/OverLoadMe.py
@@ -16,9 +16,9 @@ class OverLoadMe(Account):
def loadAccountInfo(self, user, req):
data = self.getAccountData(user)
- html = req.load("https://api.over-load.me/account.php",
+ html = self.load("https://api.over-load.me/account.php",
get={'user': user,
- 'auth': data['password']}).strip()
+ 'auth': data['password']}, req=req).strip()
data = json_loads(html)
self.logDebug(data)
@@ -31,9 +31,9 @@ class OverLoadMe(Account):
def login(self, user, data, req):
- jsondata = req.load("https://api.over-load.me/account.php",
+ jsondata = self.load("https://api.over-load.me/account.php",
get={'user': user,
- 'auth': data['password']}).strip()
+ 'auth': data['password']}, req=req).strip()
data = json_loads(jsondata)