summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/LinksnappyCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/LinksnappyCom.py')
-rw-r--r--pyload/plugin/hoster/LinksnappyCom.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/plugin/hoster/LinksnappyCom.py b/pyload/plugin/hoster/LinksnappyCom.py
index 2cb14dd51..186639a81 100644
--- a/pyload/plugin/hoster/LinksnappyCom.py
+++ b/pyload/plugin/hoster/LinksnappyCom.py
@@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
import re
-
-from urlparse import urlsplit
+import urlparse
from pyload.utils import json_loads, json_dumps
from pyload.plugin.internal.MultiHoster import MultiHoster
@@ -52,5 +51,5 @@ class LinksnappyCom(MultiHoster):
@staticmethod
def _get_host(url):
- host = urlsplit(url).netloc
+ host = urlparse.urlsplit(url).netloc
return re.search(r'[\w-]+\.\w+$', host).group(0)