summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/LinksnappyCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/LinksnappyCom.py')
-rw-r--r--module/plugins/hoster/LinksnappyCom.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/plugins/hoster/LinksnappyCom.py b/module/plugins/hoster/LinksnappyCom.py
index 3372a505d..b96c9492c 100644
--- a/module/plugins/hoster/LinksnappyCom.py
+++ b/module/plugins/hoster/LinksnappyCom.py
@@ -27,6 +27,7 @@ class LinksnappyCom(Hoster):
self.chunkLimit = -1
self.resumeDownload = True
+
def process(self, pyfile):
if re.match(self.__pattern__, pyfile.url):
new_url = pyfile.url
@@ -67,6 +68,7 @@ class LinksnappyCom(Hoster):
if check == "html302":
self.retry(wait_time=5, reason="Linksnappy returns only HTML data.")
+
@staticmethod
def _get_host(url):
host = urlsplit(url).netloc