[reddit] support video embeds (#8139)

This commit is contained in:
Mike Fährmann
2025-08-29 20:49:11 +02:00
parent 38542a8bba
commit 94c72a71fa
2 changed files with 30 additions and 9 deletions

View File

@@ -267,6 +267,14 @@ __tests__ = (
"#class" : reddit.RedditSubmissionExtractor,
},
{
"#url" : "https://www.reddit.com/user/-frogchamp-/comments/1n260wh/osc_art_request_timelapsespeed_draw_so_far_flash/",
"#comment" : "video embed (#8139)",
"#class" : reddit.RedditSubmissionExtractor,
"#options" : {"api": "rest"},
"#results" : "ytdl:https://v.redd.it/link/1n260wh/asset/8q50b220tplf1/DASHPlaylist.mpd?a=1759085227%2CYTU2NGJjNTlmNjBlOGE2NWUwYWI0MjRjZDYzZjllZjk4Nzc3Y2Y4Nzc1NDMzOTBkYTNkOWFjOGMzZjUzZDAzMQ%3D%3D&v=1&f=sd",
},
{
"#url" : "https://i.redd.it/upjtjcx2npzz.jpg",
"#category": ("", "reddit", "image"),