[comick] detect broken chapters (#8054)

This commit is contained in:
Mike Fährmann
2025-08-30 23:00:12 +02:00
parent 92f757e981
commit 75e7dc818d
2 changed files with 15 additions and 0 deletions

View File

@@ -96,6 +96,13 @@ class ComickChapterExtractor(ComickBase, ChapterExtractor):
}
def images(self, page):
if not self._images[0].get("b2key") and all(
not img.get("b2key") for img in self._images):
self.log.error(
"%s: Broken Chapter (missing 'b2key' for all pages)",
self.groups[1])
return ()
return [
(f"https://meo.comick.pictures/{img['b2key']}", {
"width" : img["w"],