[sankaku] support alphanumeric book/pool IDs (#6757)

This commit is contained in:
Mike Fährmann
2025-01-02 15:49:07 +01:00
parent bd7320fb7d
commit 0c584f9be7
2 changed files with 9 additions and 1 deletions

View File

@@ -131,7 +131,7 @@ class SankakuPoolExtractor(SankakuExtractor):
subcategory = "pool"
directory_fmt = ("{category}", "pool", "{pool[id]} {pool[name_en]}")
archive_fmt = "p_{pool}_{id}"
pattern = BASE_PATTERN + r"/(?:books|pools?/show)/(\d+)"
pattern = BASE_PATTERN + r"/(?:books|pools?/show)/(\w+)"
example = "https://sankaku.app/books/12345"
def __init__(self, match):