summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/MegauploadCom.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-02 22:14:08 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-02 22:14:08 +0200
commit5a679eeada699b74e29bf8947d25ae3e83289180 (patch)
tree61ee647b97ecf14a7d3516f29962507e70b3a560 /module/plugins/accounts/MegauploadCom.py
parenturlencode fix (diff)
downloadpyload-5a679eeada699b74e29bf8947d25ae3e83289180.tar.xz
improved accountmanager
Diffstat (limited to 'module/plugins/accounts/MegauploadCom.py')
-rw-r--r--module/plugins/accounts/MegauploadCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/MegauploadCom.py b/module/plugins/accounts/MegauploadCom.py
index 36779d4f5..77a11fe25 100644
--- a/module/plugins/accounts/MegauploadCom.py
+++ b/module/plugins/accounts/MegauploadCom.py
@@ -28,5 +28,5 @@ class MegauploadCom(Account):
__author_mail__ = ("RaNaN@pyload.org")
def login(self, user, data):
- req = self.core.requestFactory.getRequest(self.__name__, user)
+ req = self.getAccountRequest(user)
req.load("http://www.megaupload.com/?c=login&next=c%3Dpremium", post={ "username" : user, "password" : data["password"], "login" :"1"}, cookies=True)