mansuf / mangadex-downloader

A command-line tool to download manga from MangaDex, written in Python.
https://mangadex-dl.mansuf.link/
MIT License
472 stars 37 forks source link

Add an option to not embed ComicInfo.xml file in cbz format #104

Closed qx6ghqkz closed 2 months ago

qx6ghqkz commented 3 months ago

The idea

Add an option such as --no-comicinfo to disable embedding a ComicInfo.xml file into the cbz format and any other supported formats, or disable this functionality by default and make it optional with an option such as --write-comicinfo.

Why this feature should be added to the app ?

A ComicInfo.xml file is not always wanted as it may contain metadata that causes manga to be displayed differently than a user wants in supported comic readers (e.g. Komga). It would be nice to have an option to disable the generation of this file instead of having to manually delete or modify the file for each download.

mansuf commented 3 months ago

Thanks for the idea 👍, i will add this feature as --no-metadata option.

mansuf commented 2 months ago

Hello, this feature has been added in commit https://github.com/mansuf/mangadex-downloader/commit/b369f226050ef5cd4a026b9fcb15762c4b604d5f. You can test it by installing development version.

Installation with Git & Pip:

pip uninstall mangadex-downloader
pip install -U git+https://github.com/mansuf/mangadex-downloader.git@b369f226050ef5cd4a026b9fcb15762c4b604d5f

Installation from Github Artifact CI:

You can download it from here in "artifacts" section


Usage

mangadex-dl "URL" -f "cbz" --no-metadata

If you have problem or bugs, let me know 👍