1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-07-03 10:39:12 +02:00
yt-dlp/yt_dlp
Kyle Gonsalves 06d5041f74 CNNArticleIE Extractor: Update to recognize modern video links
CNNArticleIE currently matches with URLs but fails to extract video.
Update CNNArticleIE to work with the way most CNN video
links are embedded, and update the tests to include some of these
links. The type of URL for this can just use the default extractor.
Also updating the regex to capture a date or text before
the /video/ subcategory, as many video links are structured
this way. Removing old test that has an old article without
available media anymore.

Example URLs:

Landing pages:
https://www.cnn.com/videos
https://www.cnn.com/videos/
https://edition.cnn.com/videos

Specific Videos:
https://www.cnn.com/2024/05/31/sport/video/jadon-sancho-borussia-dortmund-champions-league-exclusive-spt-intl
https://edition.cnn.com/2024/06/11/politics/video/inmates-vote-jail-nevada-murray-dnt-ac360-digvid
https://www.cnn.com/2024/06/11/style/video/king-charles-portrait-vandalized-activists-foster-intl-digvid
2024-06-14 17:54:53 -07:00
..
__pyinstaller [rh:curlcffi] Add support for curl_cffi 2024-03-16 23:15:11 -05:00
compat [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
dependencies [rh:curlcffi] Add support for curl_cffi 2024-03-16 23:15:11 -05:00
downloader [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
extractor CNNArticleIE Extractor: Update to recognize modern video links 2024-06-14 17:54:53 -07:00
networking [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
postprocessor [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
utils [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
__init__.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
__main__.py [docs] Misc Cleanup (#8977) 2024-03-11 00:48:47 +05:30
aes.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
cache.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
cookies.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
jsinterp.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
minicurses.py [docs] Consistent use of e.g. (#4643) 2022-08-14 17:34:13 +05:30
options.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
plugins.py [plugins] Handle PermissionError (#9229) 2024-02-20 14:37:37 +05:30
socks.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
update.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
version.py Release 2024.05.27 2024-05-27 22:35:55 +00:00
webvtt.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00
YoutubeDL.py [cleanup] Add more ruff rules (#10149) 2024-06-12 01:09:58 +02:00