Adds a comic format registry

There is the limitation that you still need to manually import all modules that register a new comic format, but this does give us a lot of flexibility
This commit is contained in:
2025-07-30 14:40:00 -06:00
parent a0d7638598
commit a35ca0dcab
4 changed files with 236 additions and 24 deletions

View File

@@ -1,2 +1,2 @@
# Copyright (c) 2025 Markil 3
from comic_download.comic_strip import SequenceException, ImageRepo, Comic, ComicStrip, file_safe_string, get_identifier_string
from comic_download.comic_strip import SequenceException, ImageRepo, Comic, ComicStrip, file_safe_string, get_identifier_string, register_comic_class, find_comic_class