commit: 6cfcb8ac3634f1735093a791fa56b96bddabe14b
parent 7a979da8cb91abd7386cc2986d2ec2f4a2debb4c
Author: Sergey M․ <dstftw@gmail.com>
Date: Thu, 8 Sep 2016 22:44:34 +0700
[tvnoe] Do not capture unused groups in _VALID_URL
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/tvnoe.py b/youtube_dl/extractor/tvnoe.py
@@ -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',