From 10a945f94ddf44486f8d876aa355ba75cb8b7d46 Mon Sep 17 00:00:00 2001 From: zoidberg10 Date: Tue, 10 Jan 2012 02:01:53 +0100 Subject: closed #491 mf, fix mu password --- module/plugins/hoster/MegauploadCom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/hoster/MegauploadCom.py') diff --git a/module/plugins/hoster/MegauploadCom.py b/module/plugins/hoster/MegauploadCom.py index 6b5d10729..81d528668 100644 --- a/module/plugins/hoster/MegauploadCom.py +++ b/module/plugins/hoster/MegauploadCom.py @@ -65,7 +65,7 @@ class MegauploadCom(Hoster): __name__ = "MegauploadCom" __type__ = "hoster" __pattern__ = r"http://[\w\.]*?(megaupload)\.com/.*?(\?|&)d=(?P[0-9A-Za-z]+)" - __version__ = "0.3" + __version__ = "0.31" __description__ = """Megaupload.com Download Hoster""" __author_name__ = ("spoob") __author_mail__ = ("spoob@pyload.org") @@ -172,7 +172,7 @@ class MegauploadCom(Hoster): 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' in self.html[0]: + if re.search(r']*name="filepassword"', self.html[0]): pw = self.getPassword() if not pw: self.fail(_("The file is password protected, enter a password and restart.")) -- cgit v1.2.3