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/StorageTo.py | |
parent | filefactory fix (diff) | |
download | pyload-835e3a576051d9efb558bfcb7964947ab289c255.tar.xz |
Pack Fixes
Diffstat (limited to 'module/plugins/hoster/StorageTo.py')
-rw-r--r-- | module/plugins/hoster/StorageTo.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/module/plugins/hoster/StorageTo.py b/module/plugins/hoster/StorageTo.py index 86e04dfd0..fb5a07189 100644 --- a/module/plugins/hoster/StorageTo.py +++ b/module/plugins/hoster/StorageTo.py @@ -60,12 +60,12 @@ class StorageTo(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 download_api_data(self): url = self.parent.url info_url = url.replace("/get/", "/getlink/") - src = self.req.load(info_url, cookies=True) + src = self.load(info_url, cookies=True) pattern = re.compile(r"'(\w+)' : (.*?)[,|\}]") self.api_data = {} for pair in pattern.findall(src): @@ -106,6 +106,3 @@ class StorageTo(Plugin): self.download_html() file_name_pattern = r"<span class=\"orange\">Downloading:</span>(.*?)<span class=\"light\">(.*?)</span>" return re.search(file_name_pattern, self.html).group(1).strip() - - def proceed(self, url, location): - self.req.download(url, location, cookies=True) |