From: Sergey M․ Date: Mon, 29 Oct 2018 21:57:28 +0000 (+0700) Subject: [cnbc:video] Fix _VALID_URL (#17110) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=f16679e8436fb0e9d01aca2343ce22a01802667f;p=youtube-dl.git [cnbc:video] Fix _VALID_URL (#17110) --- diff --git a/youtube_dl/extractor/cnbc.py b/youtube_dl/extractor/cnbc.py index 81b0c9fc4..6889b0f40 100644 --- 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[^./?#&]+)' + _VALID_URL = r'https?://(?:www\.)?cnbc\.com/video/(?:[^/]+/)+(?P[^./?#&]+)' _TEST = { 'url': 'https://www.cnbc.com/video/2018/07/19/trump-i-dont-necessarily-agree-with-raising-rates.html', 'info_dict': {