summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FilefactoryCom.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/FilefactoryCom.py
parent[SimpleHoster] fixurl (diff)
downloadpyload-c1764e2fea0bb05164c83a876e8cd58b97f58f25.tar.xz
Update all
Diffstat (limited to 'module/plugins/accounts/FilefactoryCom.py')
-rw-r--r--module/plugins/accounts/FilefactoryCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/FilefactoryCom.py b/module/plugins/accounts/FilefactoryCom.py
index e56708831..9d61ea927 100644
--- a/module/plugins/accounts/FilefactoryCom.py
+++ b/module/plugins/accounts/FilefactoryCom.py
@@ -22,7 +22,7 @@ class FilefactoryCom(Account):
def loadAccountInfo(self, user, req):
- html = req.load("http://www.filefactory.com/account/")
+ html = self.load("http://www.filefactory.com/account/", req=req)
m = re.search(self.VALID_UNTIL_PATTERN, html)
if m:
@@ -39,10 +39,10 @@ class FilefactoryCom(Account):
def login(self, user, data, req):
req.http.c.setopt(pycurl.REFERER, "http://www.filefactory.com/member/login.php")
- html = req.load("https://www.filefactory.com/member/signin.php",
+ html = self.load("https://www.filefactory.com/member/signin.php",
post={"loginEmail" : user,
"loginPassword": data['password'],
- "Submit" : "Sign In"})
+ "Submit" : "Sign In"}, req=req)
if req.lastEffectiveURL != "http://www.filefactory.com/account/":
self.wrongPassword()