commit f16679e8436fb0e9d01aca2343ce22a01802667f
parent b14475724b78bf3b4f2f448bb2953dfd52d3d425
Author: Sergey M․ <dstftw@gmail.com>
Date:   Tue, 30 Oct 2018 04:57:28 +0700

[cnbc:video] Fix _VALID_URL (#17110)

Diffstat:
Myoutube_dl/extractor/cnbc.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/cnbc.py b/youtube_dl/extractor/cnbc.py @@ -38,7 +38,7 @@ class CNBCIE(InfoExtractor): class CNBCVideoIE(InfoExtractor): - _VALID_URL = r'https?://(?:www)?\.cnbc\.com/video/(?:[^/]+/)+(?P<id>[^./?#&]+)' + _VALID_URL = r'https?://(?:www\.)?cnbc\.com/video/(?:[^/]+/)+(?P<id>[^./?#&]+)' _TEST = { 'url': 'https://www.cnbc.com/video/2018/07/19/trump-i-dont-necessarily-agree-with-raising-rates.html', 'info_dict': {