From 7b8a8abb98165a53c026e2a3f52faee608df1f20 Mon Sep 17 00:00:00 2001 From: bashonly <88596187+bashonly@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:35:32 -0500 Subject: [PATCH] [ie/francetv:site] Fix extractor (#14082) Closes #14072 Authored by: bashonly --- yt_dlp/extractor/francetv.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/yt_dlp/extractor/francetv.py b/yt_dlp/extractor/francetv.py index 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')