summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/LinksnappyCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-02 11:43:10 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-02 11:43:10 +0200
commit94d591fcde5330323a5575049164ca94dcb5daa3 (patch)
tree7da44930b0f55a6a5f72573eb5a1670b4123e680 /module/plugins/hoster/LinksnappyCom.py
parentFix https://github.com/pyload/pyload/issues/1780 (diff)
downloadpyload-94d591fcde5330323a5575049164ca94dcb5daa3.tar.xz
Spare fixes
Diffstat (limited to 'module/plugins/hoster/LinksnappyCom.py')
-rw-r--r--module/plugins/hoster/LinksnappyCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/LinksnappyCom.py b/module/plugins/hoster/LinksnappyCom.py
index f92681f60..3301eda7c 100644
--- a/module/plugins/hoster/LinksnappyCom.py
+++ b/module/plugins/hoster/LinksnappyCom.py
@@ -46,7 +46,7 @@ class LinksnappyCom(MultiHoster):
@staticmethod
def _get_host(url):
host = urlparse.urlsplit(url).netloc
- return re.search(r'[\w-]+\.\w+$', host).group(0)
+ return re.search(r'[\w\-]+\.\w+$', host).group(0)
getInfo = create_getInfo(LinksnappyCom)