add webpage_url, webpage_url_basename

pull/10777/head
kclauhk 3 months ago
parent 1c5d9b91f5
commit 26d876f972

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

Loading…
Cancel
Save