[reddit] support comment embeds (#5366)

This commit is contained in:
Mike Fährmann
2024-04-01 23:35:42 +02:00
parent 64948f2c09
commit 095e5ded6f
2 changed files with 48 additions and 3 deletions

View File

@@ -168,6 +168,18 @@ __tests__ = (
"#count" : 0,
},
{
"#url" : "https://www.reddit.com/r/RobloxArt/comments/15ko0qu/",
"#comment" : "comment embeds (#5366)",
"#category": ("", "reddit", "submission"),
"#class" : reddit.RedditSubmissionExtractor,
"#options" : {"comments": 10},
"#urls" : (
"https://i.redd.it/ppt5yciyipgb1.jpg",
"https://i.redd.it/u0ojzd69kpgb1.png",
),
},
{
"#url" : "https://www.reddit.com/user/TheSpiritTree/comments/srilyf/",
"#comment" : "user page submission (#2301)",