[kemono:discord] support server URLs with trailing '/'

This commit is contained in:
Mike Fährmann
2026-01-20 17:29:00 +01:00
parent 2b42766956
commit efcbde7dcd
2 changed files with 6 additions and 1 deletions

View File

@@ -682,6 +682,11 @@ __tests__ = (
"#count" : 26,
},
{
"#url" : "https://kemono.cr/discord/server/488668827274444803/",
"#class" : kemono.KemonoDiscordServerExtractor,
},
{
"#url" : "https://kemono.cr/posts?q=foobar",
"#category": ("", "kemono", "posts"),