summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/MegaRapidoNet.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/MegaRapidoNet.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/MegaRapidoNet.py')
-rw-r--r--module/plugins/accounts/MegaRapidoNet.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/module/plugins/accounts/MegaRapidoNet.py b/module/plugins/accounts/MegaRapidoNet.py
index aa92f957a..92e5242bb 100644
--- a/module/plugins/accounts/MegaRapidoNet.py
+++ b/module/plugins/accounts/MegaRapidoNet.py
@@ -25,7 +25,7 @@ class MegaRapidoNet(Account):
trafficleft = None
premium = False
- html = self.load("http://megarapido.net/gerador", req=req)
+ html = self.load("http://megarapido.net/gerador")
validuntil = re.search(self.VALID_UNTIL_PATTERN, html)
if validuntil:
@@ -40,13 +40,12 @@ class MegaRapidoNet(Account):
def login(self, user, data, req):
- self.load("http://megarapido.net/login", req=req)
+ self.load("http://megarapido.net/login")
self.load("http://megarapido.net/painel_user/ajax/logar.php",
post={'login': user,
- 'senha': data['password']},
- req=req)
+ 'senha': data['password']})
- html = self.load("http://megarapido.net/gerador", req=req)
+ html = self.load("http://megarapido.net/gerador")
if "sair" not in html.lower():
self.wrong_password()