From: Sergey M․ Date: Thu, 8 Sep 2016 15:44:34 +0000 (+0700) Subject: [tvnoe] Do not capture unused groups in _VALID_URL X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=6cfcb8ac3634f1735093a791fa56b96bddabe14b;p=youtube-dl [tvnoe] Do not capture unused groups in _VALID_URL --- 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[0-9]+)' + _VALID_URL = r'https?://(?:www\.)?tvnoe\.cz/video/(?P[0-9]+)' _TEST = { 'url': 'http://www.tvnoe.cz/video/10362', 'md5': 'aee983f279aab96ec45ab6e2abb3c2ca',