From: Sergey M․ Date: Thu, 27 Mar 2014 12:08:02 +0000 (+0700) Subject: [mooshare] Add support for URLs starting with 'www' X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=8cdafb47b946bc92f50e22fc664130ad18498e1e;p=youtube-dl.git [mooshare] Add support for URLs starting with 'www' --- 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[\da-z]{12})' + _VALID_URL = r'http://(?:www\.)?mooshare\.biz/(?P[\da-z]{12})' _TESTS = [ {