"--chapters all" won't download new chapters after first download #170
Description
Describe the bug
The first time you download all chapters using "--chapters all" works fine, downloads everything. The problem is after that, if a new chapter is added and you try to download with "--chapters all" it won't download new chapters.
Reproduction steps
- Pick a manga and download all chapters with "--chapters all"
- Wait for a new chapter to go out (usually a week)
- Run again the download with "--chapters all" -> the new chapter won't be downloaded.
Expected behavior
If I download with "--chapters all" a second time I would expect the system to download new published chapters.
Additional context
I was using Kaizuku which is a great UI tool to download my manga. Noticed the new chapters were not being downloaded. Then I switched to mangal inline to build automated scripts and notice the same behavior as Kaizoku -> new chapters were not being downloaded.
Then I found the bug is present in the "caching" code. If you delete your cache folder and try again, it will download the new chapters this time.
So I switched back to Kaizoku and automated the cache clearing at night. Kaizoku has been downloading new chapters after that.
Operating System
Linux