Skip to content

Instantly share code, notes, and snippets.

View jurjen74's full-sized avatar

Jurjen Ladenius jurjen74

View GitHub Profile
@jurjen74
jurjen74 / process_comics.py
Created May 26, 2026 19:23
Batch-converts .cbz and .cbr comic archives to a normalized ZIP-based .cbz format, organized into series folders.
#!/usr/bin/env python3
"""
Comic processor: normalizes .cbz/.cbr files to ZIP-format .cbz,
organized in outbox/<Series>/ by series name parsed from the filename.
Filename convention expected: [Series] - [Issue] - [Title].cb[zr]
Usage:
python3 process_comics.py [base_dir]