From 69ec3ccdee225f1b8e00542b1dee737a51bdc18b Mon Sep 17 00:00:00 2001 From: spoob Date: Sun, 9 Aug 2009 04:48:35 +0200 Subject: fixed megaupload bug --- Plugins/MegauploadCom.py | 10 ++++------ Plugins/Plugin.py | 1 - 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'Plugins') diff --git a/Plugins/MegauploadCom.py b/Plugins/MegauploadCom.py index 63f033945..bcafec83f 100644 --- a/Plugins/MegauploadCom.py +++ b/Plugins/MegauploadCom.py @@ -60,8 +60,8 @@ class MegauploadCom(Plugin): if self.html[0] == None: self.download_html() if not self.want_reconnect: - file_name_pattern = '(.*)
' - return re.search(file_name_pattern, self.html[0]).group(1) + file_name_pattern = 'id="downloadlink">