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/TwoSharedCom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/hoster/TwoSharedCom.py') diff --git a/module/plugins/hoster/TwoSharedCom.py b/module/plugins/hoster/TwoSharedCom.py index 6de89bdbd..0568d01b6 100644 --- a/module/plugins/hoster/TwoSharedCom.py +++ b/module/plugins/hoster/TwoSharedCom.py @@ -8,7 +8,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class TwoSharedCom(SimpleHoster): __name__ = "TwoSharedCom" __type__ = "hoster" - __pattern__ = r"http://[\w\.]*?2shared.com/(account/)?(download|get|file|document|photo|video|audio)/.*" + __pattern__ = r"http://(?:www\.)?2shared.com/(account/)?(download|get|file|document|photo|video|audio)/.*" __version__ = "0.11" __description__ = """2Shared.com hoster plugin""" __author_name__ = "zoidberg" -- cgit v1.2.3