aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2016-09-08 22:44:34 +0700
committerSergey M․ <[email protected]>2016-09-08 22:53:20 +0700
commit6cfcb8ac3634f1735093a791fa56b96bddabe14b (patch)
tree45eaa90c9820f16a9801a4d5a5adb453d7f6a3a7
parent7a979da8cb91abd7386cc2986d2ec2f4a2debb4c (diff)
downloadyoutube-dl-6cfcb8ac3634f1735093a791fa56b96bddabe14b.tar.gz
youtube-dl-6cfcb8ac3634f1735093a791fa56b96bddabe14b.zip
[tvnoe] Do not capture unused groups in _VALID_URL
-rw-r--r--youtube_dl/extractor/tvnoe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/tvnoe.py b/youtube_dl/extractor/tvnoe.py
index 1cd3e6a58..6d5c74826 100644
--- 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',