summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FastshareCz.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/FastshareCz.py')
-rw-r--r--module/plugins/accounts/FastshareCz.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/module/plugins/accounts/FastshareCz.py b/module/plugins/accounts/FastshareCz.py
index e3c8235d6..16dfc1f81 100644
--- a/module/plugins/accounts/FastshareCz.py
+++ b/module/plugins/accounts/FastshareCz.py
@@ -24,7 +24,7 @@ class FastshareCz(Account):
trafficleft = None
premium = False
- html = self.load("http://www.fastshare.cz/user", req=req)
+ html = self.load("http://www.fastshare.cz/user")
m = re.search(self.CREDIT_PATTERN, html)
if m:
@@ -40,12 +40,11 @@ class FastshareCz(Account):
def login(self, user, data, req):
req.cj.setCookie("fastshare.cz", "lang", "en")
- self.load('http://www.fastshare.cz/login', req=req) #@NOTE: Do not remove or it will not login
+ self.load('http://www.fastshare.cz/login') #@NOTE: Do not remove or it will not login
html = self.load("https://www.fastshare.cz/sql.php",
post={'login': user,
- 'heslo': data['password']},
- req=req)
+ 'heslo': data['password']})
if ">Wrong username or password" in html:
self.wrong_password()