]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[tvnoe] Do not capture unused groups in _VALID_URL
authorSergey M․ <dstftw@gmail.com>
Thu, 8 Sep 2016 15:44:34 +0000 (22:44 +0700)
committerSergey M․ <dstftw@gmail.com>
Thu, 8 Sep 2016 15:53:20 +0000 (22:53 +0700)
youtube_dl/extractor/tvnoe.py

index 1cd3e6a58f1a6ec372d5e0980e7593cbc231c8fa..6d5c748264197ba99a2be8fefccf375761818610 100644 (file)
@@ -10,7 +10,7 @@ from ..utils import (
 
 
 class TVNoeIE(JWPlatformBaseIE):
-    _VALID_URL = r'https?://(www\.)?tvnoe\.cz/video/(?P<id>[0-9]+)'
+    _VALID_URL = r'https?://(?:www\.)?tvnoe\.cz/video/(?P<id>[0-9]+)'
     _TEST = {
         'url': 'http://www.tvnoe.cz/video/10362',
         'md5': 'aee983f279aab96ec45ab6e2abb3c2ca',