mangal icon indicating copy to clipboard operation
mangal copied to clipboard

Have the date of the chapter come from the source

Open Belphemur opened this issue 1 year ago • 2 comments

Feature Description

Today, we have 2 choices:

  1. Either have the date of publication of the manga as the date of the chapter
  2. Have the date of today/download as the date of the chapter.

A lot of source provide the date of when the chapter was added to them. It would be great to be able to set that directly on the chapter themselve and use it to generate the ComicInfo.xml file.

Solution you would like

Make the Chapter struct have the year, month, day fields and have the lua script be able to set it up.

If I have the time, I could make a PR for this, it shouldn't be too hard.

Alternatives you have considered

No response

Additional context

No response

Belphemur avatar Apr 10 '23 21:04 Belphemur

This was commented on here #117 I'm not entirely sure why it can't be scraped from sites like Mangadex and Mangasee, since both provide the date. (Mangadex even gives the exact timestamp)

vodkapmp avatar Apr 29 '23 19:04 vodkapmp

I had an PR for this, but wasn't getting any response from @metafates so I simply forked the project: https://github.com/Belphemur/mangal/

I've implemented chapter date for Mangadex and any other source that supports it, any LUA source can easily give it too. Also added webp conversion to reduce size of CBZ. Better recognition of chapter number, because mangal don't like chapter like "140.5" without the changes I made.

Belphemur avatar Apr 29 '23 20:04 Belphemur