A feature-rich command-line audio/video downloader
[ie/francetv:site] Fix extractor (#14082)
bashonly7b8a8abb9816
diff --git a/yt_dlp/extractor/francetv.py b/yt_dlp/extractor/francetv.pyindex 54c2c53aca..873b4eb4d5 100644--- a/yt_dlp/extractor/francetv.py+++ b/yt_dlp/extractor/francetv.py@@ -363,13 +363,7 @@ class FranceTVSiteIE(FranceTVBaseInfoExtractor):display_id = self._match_id(url)webpage = self._download_webpage(url, display_id)nextjs_data = self._search_nextjs_v13_data(webpage, display_id)-- if get_first(nextjs_data, ('isLive', {bool})):- # For livestreams we need the id of the stream instead of the currently airing episode id- video_id = get_first(nextjs_data, ('options', 'id', {str}))- else:- video_id = get_first(nextjs_data, ('video', ('playerReplayId', 'siId'), {str}))-+ video_id = get_first(nextjs_data, ('options', 'id', {str}))if not video_id:raise ExtractorError('Unable to extract video ID')