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

if error is from cloudflare, allow to retry manualy #668

Open
Tsuna77 opened this issue Jul 8, 2024 · 5 comments
Open

if error is from cloudflare, allow to retry manualy #668

Tsuna77 opened this issue Jul 8, 2024 · 5 comments

Comments

@Tsuna77
Copy link
Contributor

Tsuna77 commented Jul 8, 2024

I try to download from reaperscan that is protected by cloudflare.

Token expire before the end of downloading so a lot of chapter was failed. I update with the assistant but I can not ask to retry all failed with only one button

Can you add this button ?

@ronny1982
Copy link
Contributor

I suggest to implement a retry download for any kind of failure, not just CloudFlare.

@MikeZeDev
Copy link
Contributor

This is rising many questions.

Suppose i want to retry downloading a chapter.

Should i redo FetchPages then FetchImages? Just FetchImages ? If we need a temporary token to download images that is set in FetchPages and we only retry "fetchImages"?

Or we may have two type of retries for "downloading a chapter": Full & partial. Full invalidate "pages cache" and recall FetchPages first while partial will only retry downloading pages.

On the other hands, is there ever a need for partial in that case? What should prevent us to always recall FetchPages?

@ronny1982
Copy link
Contributor

Under the hood a failed download task will be replaced by a completely new download task, similar to when a user presses the remove button and then the download chapter button again.
This is way easier than restoring the actual failed download task.

@MikeZeDev
Copy link
Contributor

MikeZeDev commented Aug 21, 2024

In case the problem is CloudFlare , you will have to go through Hakuneko Assistant to get the cookie and pass the captcha, or you will have to activate your VPN to bypass CloudFlare Geoblocking , I see no point retrying automatically "Cloudflared" requests.

The download tasks thingies you mentioned will be fine imho.

@Tsuna77
Copy link
Contributor Author

Tsuna77 commented Aug 27, 2024

In this issue I juste Ask to a buttons no automation :-)

For automatique retry, the only things I see is to support tools like flaresolver that bypass cloudflare check, but it's an other issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants