From 01fd18e8e6a248c4d80d5c768565a5afa470726b Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 9 Oct 2010 17:30:39 +0200 Subject: closed #152 --- module/plugins/hoster/MegauploadCom.py | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3