mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-03-09 12:50:23 -05:00
[ie/francetv:site] Fix livestream extraction (#12316)
Closes #12310 Authored by: bashonly
This commit is contained in:
parent
19edaa44fc
commit
1295bbedd4
1 changed files with 2 additions and 1 deletions
|
@ -358,7 +358,8 @@ def _real_extract(self, url):
|
|||
# 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…
Reference in a new issue