summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FilejungleCom.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/FilejungleCom.py
parent[SimpleHoster] fixurl (diff)
downloadpyload-c1764e2fea0bb05164c83a876e8cd58b97f58f25.tar.xz
Update all
Diffstat (limited to 'module/plugins/accounts/FilejungleCom.py')
-rw-r--r--module/plugins/accounts/FilejungleCom.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/module/plugins/accounts/FilejungleCom.py b/module/plugins/accounts/FilejungleCom.py
index efeeaceb7..459c70c95 100644
--- a/module/plugins/accounts/FilejungleCom.py
+++ b/module/plugins/accounts/FilejungleCom.py
@@ -24,7 +24,7 @@ class FilejungleCom(Account):
def loadAccountInfo(self, user, req):
- html = req.load(self.URL + "dashboard.php")
+ html = self.load(self.URL + "dashboard.php", req=req)
m = re.search(self.TRAFFIC_LEFT_PATTERN, html)
if m:
premium = True
@@ -37,14 +37,13 @@ class FilejungleCom(Account):
def login(self, user, data, req):
- html = req.load(self.URL + "login.php",
+ html = self.load(self.URL + "login.php",
post={"loginUserName": user,
"loginUserPassword": data['password'],
"loginFormSubmit": "Login",
"recaptcha_challenge_field": "",
"recaptcha_response_field": "",
- "recaptcha_shortencode_field": ""},
- decode=True)
+ "recaptcha_shortencode_field": ""}, req=req)
if re.search(self.LOGIN_FAILED_PATTERN, html):
self.wrongPassword()