]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[vesti] Fix _VALID_URL regex
authorSergey M․ <dstftw@gmail.com>
Mon, 10 Mar 2014 17:49:41 +0000 (00:49 +0700)
committerSergey M․ <dstftw@gmail.com>
Mon, 10 Mar 2014 17:49:41 +0000 (00:49 +0700)
youtube_dl/extractor/vesti.py

index 8083c7a3516bfe7661b9bd8ffeddfc4e6eebf02f..4b89f9892379202427dd365439d0868c71efcb17 100644 (file)
@@ -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 = [
         {