[comick] use 'chapter_hid' as default 'archive-format' (#6782)

'chapter_hid' seems to be all that is needed to uniquely identify a
chapter, as comick.io is able to redirect to a full chapter URL from
one that only includes this value:

https://comick.io/comic/_/L7TaJB4n
  ->
https://comick.io/comic/neko-no-oshigoto/L7TaJB4n-chapter-10.5-en
This commit is contained in:
Mike Fährmann
2025-06-28 07:52:36 +02:00
parent d969dbbab1
commit c8e4a2f8d1

View File

@@ -85,6 +85,7 @@ class ComickBase():
class ComickChapterExtractor(ComickBase, ChapterExtractor):
"""Extractor for comick.io manga chapters"""
archive_fmt = "{chapter_hid}_{page}"
pattern = BASE_PATTERN + r"/comic/([\w-]+)/(\w+-chapter-[^/?#]+)"
example = "https://comick.io/comic/MANGA/ID-chapter-123-en"