[sankaku] support '/posts/' URLs (#4688)

This commit is contained in:
Mike Fährmann
2023-10-21 13:20:35 +02:00
parent b8674776e9
commit b52fd91ac6
2 changed files with 13 additions and 1 deletions

View File

@@ -143,7 +143,7 @@ class SankakuPostExtractor(SankakuExtractor):
"""Extractor for single posts from sankaku.app"""
subcategory = "post"
archive_fmt = "{id}"
pattern = BASE_PATTERN + r"/post/show/([0-9a-f]+)"
pattern = BASE_PATTERN + r"/post(?:s|/show)/([0-9a-f]+)"
example = "https://sankaku.app/post/show/12345"
def __init__(self, match):