mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-07-03 10:39:12 +02:00
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 |
||
---|---|---|
.. | ||
__pyinstaller | ||
compat | ||
dependencies | ||
downloader | ||
extractor | ||
networking | ||
postprocessor | ||
utils | ||
__init__.py | ||
__main__.py | ||
aes.py | ||
cache.py | ||
cookies.py | ||
jsinterp.py | ||
minicurses.py | ||
options.py | ||
plugins.py | ||
socks.py | ||
update.py | ||
version.py | ||
webvtt.py | ||
YoutubeDL.py |