From 26d876f972e4be4a0f6300aae21cdb7b78430202 Mon Sep 17 00:00:00 2001 From: kclauhk <78251477+kclauhk@users.noreply.github.com> Date: Thu, 29 Aug 2024 09:30:48 +0800 Subject: [PATCH] add webpage_url, webpage_url_basename --- yt_dlp/extractor/piramidetv.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yt_dlp/extractor/piramidetv.py b/yt_dlp/extractor/piramidetv.py index d94379282..ed7de211d 100644 --- a/yt_dlp/extractor/piramidetv.py +++ b/yt_dlp/extractor/piramidetv.py @@ -50,6 +50,8 @@ def extract_video(video_id, fatal=False): }), 'formats': formats, '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})) return video_info, next_video_id