Browse Source

[tvnoe] Do not capture unused groups in _VALID_URL

Sergey M․ 9 years ago
parent
commit
6cfcb8ac36
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/tvnoe.py

+ 1 - 1
youtube_dl/extractor/tvnoe.py

@@ -10,7 +10,7 @@ from ..utils import (
 
 
 
 
 class TVNoeIE(JWPlatformBaseIE):
 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 = {
     _TEST = {
         'url': 'http://www.tvnoe.cz/video/10362',
         'url': 'http://www.tvnoe.cz/video/10362',
         'md5': 'aee983f279aab96ec45ab6e2abb3c2ca',
         'md5': 'aee983f279aab96ec45ab6e2abb3c2ca',