From f2deb6e7001e97d14bc4e9ee28c49eea806e62c6 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 11 Apr 2014 12:25:21 +0200 Subject: Fix __pattern__ www Merges vuolter/pyload@d3be840 --- module/plugins/hoster/UnrestrictLi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/hoster/UnrestrictLi.py') 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" -- cgit v1.2.3