oae / kaizoku

Self-hosted manga downloader
https://kaizoku.app
MIT License
503 stars 32 forks source link

Automated mangal cache clear #117

Open philipdistefano opened 11 months ago

philipdistefano commented 11 months ago

Feature Description

A way to clear the mangal cache.

Solution you would like

I am running into the issue described here: https://github.com/metafates/mangal/issues/170

Basically, new chapters aren't downloading unless I manually clear the mangal cache in the Kaizoku container. It would be great if there was a button to do this or a way to automate it in the GUI.

Alternatives you have considered

I have setup a cronjob to do this in the meantime

45 23 * docker exec -it kaizoku mangal clear --cache

Additional context

I have noticed this is mainly affecting mangapill for me, but it's also fair to note that most of series are via mangapill. Mangadex is working, as is Mangasee. I don't use the others.

notHiks commented 9 months ago

mangal has a few different cache systems. i found that for manganato it was using the cached search query when checking for updates. i added this to the cron tab as well.

docker exec -it kaizoku mangal clear -c && mangal clear -q