commit 8cdafb47b946bc92f50e22fc664130ad18498e1e parent 0dae5083f13682da7c43ac2d8215d1147c3332b4 Author: Sergey M․ <dstftw@gmail.com> Date: Thu, 27 Mar 2014 19:08:02 +0700 [mooshare] Add support for URLs starting with 'www' Diffstat:
M | youtube_dl/extractor/mooshare.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/mooshare.py b/youtube_dl/extractor/mooshare.py @@ -14,7 +14,7 @@ from ..utils import ( class MooshareIE(InfoExtractor): IE_NAME = 'mooshare' IE_DESC = 'Mooshare.biz' - _VALID_URL = r'http://mooshare\.biz/(?P<id>[\da-z]{12})' + _VALID_URL = r'http://(?:www\.)?mooshare\.biz/(?P<id>[\da-z]{12})' _TESTS = [ {