add webpage_url, webpage_url_basename

This commit is contained in:
kclauhk 2024-08-29 09:30:48 +08:00
parent 1c5d9b91f5
commit 26d876f972
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,8 @@ class PiramideTVIE(InfoExtractor):
}), }),
'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