diff options
author | Sergey M․ <dstftw@gmail.com> | 2018-10-30 04:57:28 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2018-10-30 04:57:51 +0700 |
commit | f16679e8436fb0e9d01aca2343ce22a01802667f (patch) | |
tree | 2acd7d1335ce465b407b0d1f40cf144fe9065371 | |
parent | b14475724b78bf3b4f2f448bb2953dfd52d3d425 (diff) |
[cnbc:video] Fix _VALID_URL (#17110)
-rw-r--r-- | youtube_dl/extractor/cnbc.py | 2 |
1 files changed, 1 insertions, 1 deletions
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<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': { |