diff options
author | Sergey M․ <dstftw@gmail.com> | 2014-03-27 19:08:02 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2014-03-27 19:08:35 +0700 |
commit | 8cdafb47b946bc92f50e22fc664130ad18498e1e (patch) | |
tree | f8691d85e27d9ef5a43bcd620faafb4eefa3ee67 | |
parent | 0dae5083f13682da7c43ac2d8215d1147c3332b4 (diff) |
[mooshare] Add support for URLs starting with 'www'
-rw-r--r-- | youtube_dl/extractor/mooshare.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/mooshare.py b/youtube_dl/extractor/mooshare.py index f1875add5..7d21ea18f 100644 --- 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 = [ { |