This Python script converts .cbr comic book files to .pdf extracting the images and compiling them into a single PDF.
Install dependencies:
pip install patool img2pdf PillowThe script converts the file entered as an argument.
python cbr_to_pdf.py file.cbrpython cbr_to_pdf.py *.cbr- PDFs are saved in the
PDF/directory. - Temporary folders are deleted after conversion.