summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/MegaRapidCz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-17 15:29:48 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-17 15:29:48 +0200
commit1f5a55ae2133a782bdcca334ecbcdbde50dbcf99 (patch)
tree820ddb376ea97d4cf3aa53ef0f4dfb4ebfa4a0d5 /module/plugins/accounts/MegaRapidCz.py
parentSpare fixes and code cosmetics (diff)
downloadpyload-1f5a55ae2133a782bdcca334ecbcdbde50dbcf99.tar.xz
No more need to use the req argument when call load method
Diffstat (limited to 'module/plugins/accounts/MegaRapidCz.py')
-rw-r--r--module/plugins/accounts/MegaRapidCz.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/module/plugins/accounts/MegaRapidCz.py b/module/plugins/accounts/MegaRapidCz.py
index d2f6cfaf7..b95a832e6 100644
--- a/module/plugins/accounts/MegaRapidCz.py
+++ b/module/plugins/accounts/MegaRapidCz.py
@@ -25,7 +25,7 @@ class MegaRapidCz(Account):
def load_account_info(self, user, req):
- htmll = self.load("http://megarapid.cz/mujucet/", req=req)
+ htmll = self.load("http://megarapid.cz/mujucet/")
m = re.search(self.LIMITDL_PATTERN, htmll)
if m:
@@ -46,7 +46,7 @@ class MegaRapidCz(Account):
def login(self, user, data, req):
- html = self.load("http://megarapid.cz/prihlaseni/", req=req)
+ html = self.load("http://megarapid.cz/prihlaseni/")
if "Heslo:" in html:
start = html.index('id="inp_hash" name="hash" value="')
@@ -57,5 +57,4 @@ class MegaRapidCz(Account):
"login" : user,
"pass1" : data['password'],
"remember": 1,
- "sbmt" : u"Přihlásit"},
- req=req)
+ "sbmt" : u"Přihlásit"})