Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"--chapters all" won't download new chapters after first download #170

Open
rzumbado opened this issue May 16, 2023 · 2 comments
Open

"--chapters all" won't download new chapters after first download #170

rzumbado opened this issue May 16, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@rzumbado
Copy link

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

  1. Pick a manga and download all chapters with "--chapters all"
  2. Wait for a new chapter to go out (usually a week)
  3. 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

@rzumbado rzumbado added the bug Something isn't working label May 16, 2023
@junoguksoo
Copy link

@rzumbado Do you mind sharing where the cache is located? I'm running into the same issue.

@rzumbado
Copy link
Author

rzumbado commented Jul 3, 2023

@rzumbado Do you mind sharing where the cache is located? I'm running into the same issue.

The directory is located at root's home: /root/.cache/mangal/
You need to remove that dir enterily, like this:

rm -v -r /root/.cache/mangal/ || echo "(no cache directory found)"

I do not know where is that folder located within windows (I only use linux for this) but I am guessing it should be somewhere inside the /Users/ folder in C: drive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants