summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Jeix <devnull@localhost> 2010-11-10 16:27:17 +0100
committerGravatar Jeix <devnull@localhost> 2010-11-10 16:27:17 +0100
commit1fcfec4e2bd558975d36f1f294cdc52abeb5f4e5 (patch)
tree2c3101f704e75ba74919e053a9cbc7b3f7d3b208 /module/plugins/hoster
parent... stupid me -.- (diff)
downloadpyload-1fcfec4e2bd558975d36f1f294cdc52abeb5f4e5.tar.xz
some design improvements on gui
Diffstat (limited to 'module/plugins/hoster')
-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 1cc3c7aaf..7993233dc 100644
--- a/module/plugins/hoster/MegauploadCom.py
+++ b/module/plugins/hoster/MegauploadCom.py
@@ -101,6 +101,9 @@ class MegauploadCom(Hoster):
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"))
+
+ if r'Please enter the password below to proceed' in self.html[0]:
+ self.fail(_("The file is password protected"))
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,