summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/StorageTo.py
diff options
context:
space:
mode:
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+)' : (.*?)[,|\}]")