merge #4693: [reddit] support Reddit Mobile share links

This commit is contained in:
Mike Fährmann
2023-10-25 17:54:32 +02:00
3 changed files with 32 additions and 1 deletions

View File

@@ -240,4 +240,12 @@ __tests__ = (
"#pattern" : r"^https://i\.redd\.it/00af44lpn0u51\.jpg$",
},
{
"#url" : "https://www.reddit.com/r/analog/s/hKrTTvFVwZ",
"#comment" : "Mobile share URL",
"#category": ("", "reddit", "redirect"),
"#class" : reddit.RedditRedirectExtractor,
"#pattern" : r"^https://www\.reddit\.com/r/analog/comments/179exao/photographing_the_recent_annular_eclipse_with_a",
},
)