logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: c4d197ee2d96d4e7881b7bd52104cc4d1cf49be5
parent a33932cfe39a2aad61cb4a43fe7ffc7de55ef015
Author: Sergey M․ <dstftw@gmail.com>
Date:   Tue, 11 Mar 2014 00:49:41 +0700

[vesti] Fix _VALID_URL regex

Diffstat:

Myoutube_dl/extractor/vesti.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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<id>.+)' + _VALID_URL = r'http://(?:.+?\.)?(?:vesti\.ru|russia\.tv|tvkultura\.ru|rutv\.ru)/(?P<id>.+)' _TESTS = [ {