projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Credit @jelly for gamekings extractor (#1759)
[youtube-dl]
/
youtube_dl
/
extractor
/
cnn.py
diff --git
a/youtube_dl/extractor/cnn.py
b/youtube_dl/extractor/cnn.py
index a79f881cd9dbf54b8fdb3ff229de1d0e6b9c6aac..34adf6dda519a5ed2657fee3687d9e2e0f52ef73 100644
(file)
--- a/
youtube_dl/extractor/cnn.py
+++ b/
youtube_dl/extractor/cnn.py
@@
-6,7
+6,7
@@
from ..utils import determine_ext
class CNNIE(InfoExtractor):
- _VALID_URL = r'''(?x)https?://(
edition
\.)?cnn\.com/video/(data/.+?|\?)/
+ _VALID_URL = r'''(?x)https?://(
(edition|www)
\.)?cnn\.com/video/(data/.+?|\?)/
(?P<path>.+?/(?P<title>[^/]+?)(?:\.cnn|(?=&)))'''
_TESTS = [{