diff options
author | spoob <spoob@gmx.de> | 2010-04-13 18:54:55 +0200 |
---|---|---|
committer | spoob <spoob@gmx.de> | 2010-04-13 18:54:55 +0200 |
commit | 835e3a576051d9efb558bfcb7964947ab289c255 (patch) | |
tree | ff776f8b1f225829e897ab301eeb744afa42a742 /module/plugins/hoster/FreakshareNet.py | |
parent | filefactory fix (diff) | |
download | pyload-835e3a576051d9efb558bfcb7964947ab289c255.tar.xz |
Pack Fixes
Diffstat (limited to 'module/plugins/hoster/FreakshareNet.py')
-rw-r--r-- | module/plugins/hoster/FreakshareNet.py | 6 |
1 files changed, 3 insertions, 3 deletions
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"<input\stype=\".*?\"\svalue=\"(\S*?)\".*?name=\"(\S*?)\"\s.*?\/>", 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) |