summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/ZshareNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/ZshareNet.py')
-rw-r--r--module/plugins/hoster/ZshareNet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/ZshareNet.py b/module/plugins/hoster/ZshareNet.py
index 08f28a35c..c3de0e475 100644
--- a/module/plugins/hoster/ZshareNet.py
+++ b/module/plugins/hoster/ZshareNet.py
@@ -27,14 +27,14 @@ class ZshareNet(Plugin):
def download_html(self):
url = self.parent.url
- self.html[0] = self.req.load(url)
+ self.html[0] = self.load(url)
if "/video/" in url:
url = url.replace("/video/", "/download/")
elif "/audio/" in url:
url = url.replace("/audio/", "/download/")
elif "/image/" in url:
url = url.replace("/image/", "/download/")
- self.html[1] = self.req.load(url, None, {"download": "1"})
+ self.html[1] = self.load(url, None, {"download": "1"})
def get_file_url(self):
""" returns the absolute downloadable filepath