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 url to ComicInfo.xml #108

Closed vonProteus closed 3 months ago

vonProteus commented 3 months ago

The idea

can you add url of chapter to ComicInfo.xml in cbz

Why this feature should be added to the app ?

when looking at chapter (cbz) it would be nice to have url of orginal location

vonProteus commented 3 months ago

i think it is web tag https://anansi-project.github.io/docs/comicinfo/documentation#web

mansuf commented 3 months ago

web tag has been added in https://github.com/mansuf/mangadex-downloader/commit/a76e05d674e24ac75cc4838f71e33b9f56e3ff77. You can try installing development version if you want to test it.

Installtion with Git & pip

pip uninstall mangadex-downloader
pip install -U git+https://github.com/mansuf/mangadex-downloader.git@a76e05d674e24ac75cc4838f71e33b9f56e3ff77
vonProteus commented 3 months ago

i think it should be url to chapter not title ^_^ or maybe chapter_URL title_URL

Web

A URL pointing to a reference website for the book.

It is accepted that multiple values are space separated. If a space is a part of the url it must be percent encoded.

mansuf commented 3 months ago

Oh right, i was messed up, sorry. I will repair it soon.

mansuf commented 3 months ago

Done, it was fixed https://github.com/mansuf/mangadex-downloader/commit/2f72a08867db0064647ad1add9b5213b91e1c30c. Originally i was adding for cbz-volume and cbz-single. Now when cbz format is used it gets to chapter URL, but if cbz-volume or cbz-single is used it gets to manga URL

mansuf commented 3 months ago

Hold up, i messed up again, i'm really sorry for this, it's 2 am right now i'm really sleepy.

mansuf commented 3 months ago

Alright, it should REALLY FIXED in https://github.com/mansuf/mangadex-downloader/commit/ae3ab36cd2cc4b8ac2cfd241fae5ac604af4093e.

If you found any bugs with this patch, let me know