[sankaku][idolcomplex] support URLs with locale code (#8667)

This commit is contained in:
Mike Fährmann
2025-12-09 08:23:40 +01:00
parent 7516537630
commit 1b4249ed37
4 changed files with 26 additions and 2 deletions

View File

@@ -11,7 +11,8 @@
from . import sankaku
BASE_PATTERN = (r"(?:https?://)?(?:www\.)?"
r"idol(?:\.sankaku)?complex\.com(?:/[a-z]{2})?")
r"idol(?:\.sankaku)?complex\.com"
r"(?:/[a-z]{2}(?:[-_][A-Z]{2})?)?")
class IdolcomplexBase():