1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-03 03:45:33 +08:00

[cnbc:video] Fix _VALID_URL (#17110)

This commit is contained in:
Sergey M․ 2018-10-30 04:57:28 +07:00 committed by Ni Ndogo
parent 00365179ae
commit 6de56f023a

View File

@ -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': {