about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2014-03-11 00:49:41 +0700
committerSergey M․ <dstftw@gmail.com>2014-03-11 00:49:41 +0700
commitc4d197ee2d96d4e7881b7bd52104cc4d1cf49be5 (patch)
treecd1e44c2a19144322988ef6580de102a656bfcb3
parenta33932cfe39a2aad61cb4a43fe7ffc7de55ef015 (diff)
downloadyoutube-dl-c4d197ee2d96d4e7881b7bd52104cc4d1cf49be5.tar.gz
youtube-dl-c4d197ee2d96d4e7881b7bd52104cc4d1cf49be5.tar.xz
youtube-dl-c4d197ee2d96d4e7881b7bd52104cc4d1cf49be5.zip
[vesti] Fix _VALID_URL regex
-rw-r--r--youtube_dl/extractor/vesti.py2
1 files changed, 1 insertions, 1 deletions
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<id>.+)'
+    _VALID_URL = r'http://(?:.+?\.)?(?:vesti\.ru|russia\.tv|tvkultura\.ru|rutv\.ru)/(?P<id>.+)'
 
     _TESTS = [
         {