mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-10-31 23:02:40 +00:00
[underline] Added slide_info to info_dict
This commit is contained in:
parent
2cb546cf8e
commit
93a079d865
1 changed files with 10 additions and 0 deletions
|
@ -36,6 +36,13 @@ class UnderlineIE(InfoExtractor):
|
||||||
"id": "342/posters/12863/poster/66463-mbti-personality-prediction-approach-on-persian-twitter",
|
"id": "342/posters/12863/poster/66463-mbti-personality-prediction-approach-on-persian-twitter",
|
||||||
"ext": "mp4",
|
"ext": "mp4",
|
||||||
"title": "MBTI Personality Prediction Approach on Persian Twitter",
|
"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 {
|
return {
|
||||||
"id": video_id,
|
"id": video_id,
|
||||||
"title": title,
|
"title": title,
|
||||||
"formats": formats,
|
"formats": formats,
|
||||||
|
"slide_info": slide_info,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue