[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

@@ -460,7 +460,7 @@ class KemonoDiscordExtractor(KemonoExtractor):
class KemonoDiscordServerExtractor(KemonoExtractor):
subcategory = "discord-server"
pattern = BASE_PATTERN + r"/discord/server/(\d+)$"
pattern = BASE_PATTERN + r"/discord/server/(\d+)"
example = "https://kemono.cr/discord/server/12345"
def items(self):