From 93a079d865112e31675ed165985549027737f26a Mon Sep 17 00:00:00 2001 From: NightMachinery Date: Tue, 6 Dec 2022 07:30:19 +0330 Subject: [PATCH] [underline] Added slide_info to info_dict --- yt_dlp/extractor/underline.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/yt_dlp/extractor/underline.py b/yt_dlp/extractor/underline.py index 9593aa069..475361787 100644 --- a/yt_dlp/extractor/underline.py +++ b/yt_dlp/extractor/underline.py @@ -36,6 +36,13 @@ class UnderlineIE(InfoExtractor): "id": "342/posters/12863/poster/66463-mbti-personality-prediction-approach-on-persian-twitter", "ext": "mp4", "title": "MBTI Personality Prediction Approach on Persian Twitter", + "slide_info": [ + { + "url": "https://assets.underline.io/lecture/66463/slideshow/b236b5cfb38966a761a5443bf47fbdf9.pdf", + "filename": "Personality-Prediction-WINLP-slides.pdf", + "size": 780319, + } + ], }, } ] @@ -84,8 +91,11 @@ def _real_extract(self, url): ) ) + slide_info = list(gen_dict_extract(webpage_info, "slideshow")) + return { "id": video_id, "title": title, "formats": formats, + "slide_info": slide_info, }