summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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