From: Sergey M․ Date: Mon, 10 Mar 2014 17:49:41 +0000 (+0700) Subject: [vesti] Fix _VALID_URL regex X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=c4d197ee2d96d4e7881b7bd52104cc4d1cf49be5;p=youtube-dl [vesti] Fix _VALID_URL regex --- diff --git a/youtube_dl/extractor/vesti.py b/youtube_dl/extractor/vesti.py index 8083c7a35..4b89f9892 100644 --- a/youtube_dl/extractor/vesti.py +++ b/youtube_dl/extractor/vesti.py @@ -13,7 +13,7 @@ from ..utils import ( class VestiIE(InfoExtractor): IE_NAME = 'vesti' IE_DESC = 'Вести.Ru' - _VALID_URL = r'http://(?:(?:.+?\.)?vesti\.ru|(?:2\.)?russia\.tv|tvkultura\.ru|rutv\.ru)/(?P.+)' + _VALID_URL = r'http://(?:.+?\.)?(?:vesti\.ru|russia\.tv|tvkultura\.ru|rutv\.ru)/(?P.+)' _TESTS = [ {