summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-03-12 15:23:02 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-03-12 15:23:02 +0100
commit0ffdfd5309ccf9f3ad273fe0584218971ee06a42 (patch)
treea7829abf45fcbe2570fb479d18341f8986042ae8 /module/plugins/hoster
parentclosed #246, #247, #248, #249, (diff)
downloadpyload-0ffdfd5309ccf9f3ad273fe0584218971ee06a42.tar.xz
mu fix
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/MegauploadCom.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/plugins/hoster/MegauploadCom.py b/module/plugins/hoster/MegauploadCom.py
index a7bc85856..ed26bb0a1 100644
--- a/module/plugins/hoster/MegauploadCom.py
+++ b/module/plugins/hoster/MegauploadCom.py
@@ -66,7 +66,10 @@ class MegauploadCom(Hoster):
self.chunkLimit = 1
else:
self.multiDL = False
+
self.api = {}
+ none, sep, self.fileID = self.pyfile.url.partition("d=")
+ self.pyfile.url = "http://www.megaupload.com/?d=" + self.fileID
def process(self, pyfile):