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

Closes #12310
Authored by: bashonly
pull/8869/head
bashonly 3 weeks ago committed by GitHub
parent 19edaa44fc
commit 1295bbedd4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save