diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-09 17:30:39 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-09 17:30:39 +0200 |
commit | 01fd18e8e6a248c4d80d5c768565a5afa470726b (patch) | |
tree | 71e73e243286fd2de8c6a698584decc0f61c7ae2 /module/plugins | |
parent | netload fix no. 2 (diff) | |
download | pyload-01fd18e8e6a248c4d80d5c768565a5afa470726b.tar.xz |
closed #152
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/hoster/MegauploadCom.py | 3 |
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 |