summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/StorageTo.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-31 16:01:06 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-31 16:01:06 +0200
commitd9ea19b009e35387740e598fdad9f5de0f2afc59 (patch)
tree6e3c301aceb2aa67f5e4c9d56857027e9bf056da /module/plugins/hoster/StorageTo.py
parentlittle fixes (diff)
downloadpyload-d9ea19b009e35387740e598fdad9f5de0f2afc59.tar.xz
cleanup
Diffstat (limited to 'module/plugins/hoster/StorageTo.py')
-rw-r--r--module/plugins/hoster/StorageTo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/StorageTo.py b/module/plugins/hoster/StorageTo.py
index f0660b40d..49957ba89 100644
--- a/module/plugins/hoster/StorageTo.py
+++ b/module/plugins/hoster/StorageTo.py
@@ -50,11 +50,11 @@ class StorageTo(Hoster):
return True
def download_html(self):
- url = self.parent.url
+ url = self.pyfile.url
self.html = self.load(url, cookies=True)
def download_api_data(self):
- url = self.parent.url
+ url = self.pyfile.url
info_url = url.replace("/get/", "/getlink/")
src = self.load(info_url, cookies=True)
pattern = re.compile(r"'(\w+)' : (.*?)[,|\}]")