projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b144757
)
[cnbc:video] Fix _VALID_URL (#17110)
author
Sergey M․
<dstftw@gmail.com>
Mon, 29 Oct 2018 21:57:28 +0000
(
04:57
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 29 Oct 2018 21:57:51 +0000
(
04:57
+0700)
youtube_dl/extractor/cnbc.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/cnbc.py
b/youtube_dl/extractor/cnbc.py
index 81b0c9fc417cb24aba0824ec2dce63eb1acefc7e..6889b0f401b13a04855b3afef1882aa1c0b7da3b 100644
(file)
--- 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': {