[ie/francetv:site] Fix livestream extraction (#12316)

Closes #12310
Authored by: bashonly
This commit is contained in:
bashonly 2025-02-08 20:21:48 -06:00 committed by GitHub
parent 19edaa44fc
commit 1295bbedd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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',