summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UnrestrictLi.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/UnrestrictLi.py')
-rw-r--r--module/plugins/hoster/UnrestrictLi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/UnrestrictLi.py b/module/plugins/hoster/UnrestrictLi.py
index f745f1bf6..501fab1da 100644
--- a/module/plugins/hoster/UnrestrictLi.py
+++ b/module/plugins/hoster/UnrestrictLi.py
@@ -36,7 +36,7 @@ class UnrestrictLi(Hoster):
__name__ = "UnrestrictLi"
__version__ = "0.11"
__type__ = "hoster"
- __pattern__ = r"https?://.*(unrestrict|unr)\.li"
+ __pattern__ = r"https?://(?:[^/]*\.)?(unrestrict|unr)\.li"
__description__ = """Unrestrict.li hoster plugin"""
__author_name__ = "stickell"
__author_mail__ = "l.stickell@yahoo.it"