From 835e3a576051d9efb558bfcb7964947ab289c255 Mon Sep 17 00:00:00 2001 From: spoob Date: Tue, 13 Apr 2010 18:54:55 +0200 Subject: Pack Fixes --- module/plugins/hoster/FilesmonsterCom.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'module/plugins/hoster/FilesmonsterCom.py') diff --git a/module/plugins/hoster/FilesmonsterCom.py b/module/plugins/hoster/FilesmonsterCom.py index 27c687363..99a2ccd57 100644 --- a/module/plugins/hoster/FilesmonsterCom.py +++ b/module/plugins/hoster/FilesmonsterCom.py @@ -38,7 +38,7 @@ class FilesmonsterCom(Plugin): def download_html(self): self.url = self.parent.url - self.html = self.req.load(self.url) # get the start page + self.html = self.load(self.url) # get the start page def get_file_url(self): """ returns the absolute downloadable filepath @@ -62,8 +62,6 @@ class FilesmonsterCom(Plugin): return self.parent.url def file_exists(self): - """ returns True or False - """ if self.html == None: self.download_html() if re.search(r"Such file does not exist or it has been removed for infringement of copyrights.", self.html) != None: @@ -73,15 +71,15 @@ class FilesmonsterCom(Plugin): def get_download_page(self): herewego = re.findall(r"\s*\n\s*", self.html) - the_download_page = self.req.load("http://filesmonster.com/get/free/", None, herewego) + the_download_page = self.load("http://filesmonster.com/get/free/", None, herewego) temporary_filtered = re.search(r"\s*\n(\s*\s*\n)*?\s*", the_download_page).group(0) all_the_tuples = re.findall(r"