mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-20 05:47:24 +01:00
add webpage_url, webpage_url_basename
This commit is contained in:
parent
1c5d9b91f5
commit
26d876f972
@ -50,6 +50,8 @@ def extract_video(video_id, fatal=False):
|
|||||||
}),
|
}),
|
||||||
'formats': formats,
|
'formats': formats,
|
||||||
'subtitles': subtitles,
|
'subtitles': subtitles,
|
||||||
|
'webpage_url': f'https://piramide.tv/video/{video_id}',
|
||||||
|
'webpage_url_basename': video_id,
|
||||||
}
|
}
|
||||||
next_video_id = traverse_obj(video_data, ('video', 'next_video', 'id', {str}))
|
next_video_id = traverse_obj(video_data, ('video', 'next_video', 'id', {str}))
|
||||||
return video_info, next_video_id
|
return video_info, next_video_id
|
||||||
|
Loading…
Reference in New Issue
Block a user