summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/MegauploadCom.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-29 11:44:24 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-29 11:44:24 +0100
commit31c5e0c1cbb6da955973bdce360eedbe61225688 (patch)
tree0170556dd7528723c803fb1c299199aca143ab24 /module/plugins/accounts/MegauploadCom.py
parentmore fixes and chunk+resume debug (diff)
downloadpyload-31c5e0c1cbb6da955973bdce360eedbe61225688.tar.xz
fixed accounts
Diffstat (limited to 'module/plugins/accounts/MegauploadCom.py')
-rw-r--r--module/plugins/accounts/MegauploadCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/MegauploadCom.py b/module/plugins/accounts/MegauploadCom.py
index d50008b70..3432c299a 100644
--- a/module/plugins/accounts/MegauploadCom.py
+++ b/module/plugins/accounts/MegauploadCom.py
@@ -31,7 +31,7 @@ class MegauploadCom(Account):
__author_mail__ = ("RaNaN@pyload.org")
def loadAccountInfo(self, user, req):
- page = req.getPage("http://www.megaupload.com/?c=account")
+ page = req.load("http://www.megaupload.com/?c=account")
free = re.findall(r"Account type:</TD>\s*<TD><b>Regular</b>",page,re.IGNORECASE+re.MULTILINE)
if free:
@@ -47,6 +47,6 @@ class MegauploadCom(Account):
def login(self, user, data, req):
- page = req.getPage("http://www.megaupload.com/?c=login&next=c%3Dpremium", post={ "username" : user, "password" : data["password"], "login" :"1"}, cookies=True)
+ page = req.load("http://www.megaupload.com/?c=login&next=c%3Dpremium", post={ "username" : user, "password" : data["password"], "login" :"1"}, cookies=True)
if "Username and password do not match" in page:
self.wrongPassword()