[reddit] add 'embeds' option (#6357)
This commit is contained in:
@@ -171,7 +171,6 @@ __tests__ = (
|
||||
{
|
||||
"#url" : "https://www.reddit.com/r/RobloxArt/comments/15ko0qu/",
|
||||
"#comment" : "comment embeds (#5366)",
|
||||
"#category": ("", "reddit", "submission"),
|
||||
"#class" : reddit.RedditSubmissionExtractor,
|
||||
"#options" : {"comments": 10},
|
||||
"#urls" : (
|
||||
@@ -180,6 +179,14 @@ __tests__ = (
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://www.reddit.com/r/RobloxArt/comments/15ko0qu/",
|
||||
"#comment" : "disabled comment embeds (#6357)",
|
||||
"#class" : reddit.RedditSubmissionExtractor,
|
||||
"#options" : {"comments": 10, "embeds": False},
|
||||
"#urls" : "https://i.redd.it/ppt5yciyipgb1.jpg",
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://www.reddit.com/user/TheSpiritTree/comments/srilyf/",
|
||||
"#comment" : "user page submission (#2301)",
|
||||
|
||||
Reference in New Issue
Block a user