summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/MegauploadCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/MegauploadCom.py')
-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):