summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-09 17:30:39 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-09 17:30:39 +0200
commit01fd18e8e6a248c4d80d5c768565a5afa470726b (patch)
tree71e73e243286fd2de8c6a698584decc0f61c7ae2
parentnetload fix no. 2 (diff)
downloadpyload-01fd18e8e6a248c4d80d5c768565a5afa470726b.tar.xz
closed #152
-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 1ee5e02be..0380f5fe9 100644
--- a/module/plugins/hoster/MegauploadCom.py
+++ b/module/plugins/hoster/MegauploadCom.py
@@ -93,6 +93,9 @@ class MegauploadCom(Hoster):
for i in range(5):
self.html[0] = self.load(self.pyfile.url)
count = 0
+ if "The file that you're trying to download is larger than 1 GB" in self.html[0]:
+ self.fail(_("You need premium to download files larger than 1 GB"))
+
while "document.location='http://www.megaupload.com/?c=msg" in self.html[0]:
# megaupload.com/?c=msg usually says: Please check back in 2 minutes,
# so we can spare that http request