aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbashonly <88596187+bashonly@users.noreply.github.com>2025-02-08 20:21:48 -0600
committerGitHub <noreply@github.com>2025-02-09 02:21:48 +0000
commit1295bbedd45fa8d9bc3f7a194864ae280297848e (patch)
tree28d7e148d211a95d43a4f7a9e63cb79f85578c1e
parent19edaa44fcd375f54e63d6227b092f5252d3e889 (diff)
[ie/francetv:site] Fix livestream extraction (#12316)
Closes #12310 Authored by: bashonly
-rw-r--r--yt_dlp/extractor/francetv.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yt_dlp/extractor/francetv.py b/yt_dlp/extractor/francetv.py
index 01b18d8da..c6036b306 100644
--- a/yt_dlp/extractor/francetv.py
+++ b/yt_dlp/extractor/francetv.py
@@ -358,7 +358,8 @@ class FranceTVSiteIE(FranceTVBaseInfoExtractor):
# For livestreams we need the id of the stream instead of the currently airing episode id
video_id = traverse_obj(nextjs_data, (
..., ..., 'children', ..., 'children', ..., 'children', ..., 'children', ..., ...,
- 'children', ..., ..., 'children', ..., ..., 'children', ..., 'options', 'id', {str}, any))
+ 'children', ..., ..., 'children', ..., ..., 'children', (..., (..., ...)),
+ 'options', 'id', {str}, any))
else:
video_id = traverse_obj(nextjs_data, (
..., ..., ..., 'children',