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/FreakshareNet.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins/hoster/FreakshareNet.py') diff --git a/module/plugins/hoster/FreakshareNet.py b/module/plugins/hoster/FreakshareNet.py index 4d5d4d5b9..8c7dc5a2c 100644 --- a/module/plugins/hoster/FreakshareNet.py +++ b/module/plugins/hoster/FreakshareNet.py @@ -52,7 +52,7 @@ class FreakshareNet(Plugin): def download_html(self): url = self.parent.url - self.html = self.req.load(url, cookies=True) + self.html = self.load(url, cookies=True) def get_file_url(self): """ returns the absolute downloadable filepath @@ -101,7 +101,7 @@ class FreakshareNet(Plugin): request_options = list() for item in to_sort: #Name value pairs are output reversed from regex, so we reorder them request_options.append((item[1], item[0])) - herewego = self.req.load(self.parent.url, None, request_options, cookies=True) # the actual download-Page + herewego = self.load(self.parent.url, None, request_options, cookies=True) # the actual download-Page to_sort = None to_sort = re.findall(r"", herewego) request_options = list() @@ -140,4 +140,4 @@ class FreakshareNet(Plugin): temp_response = temp_conn.getresponse() new_url = temp_response.getheader("Location") # we need the Location-header temp_conn.close - self.req.download(new_url, location, None, None, cookies=False) + self.download(new_url, location, cookies=False) -- cgit v1.2.3