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

[BUG] Download pages of a manga #41

Closed
Dorian25 opened this issue Apr 18, 2023 · 0 comments
Closed

[BUG] Download pages of a manga #41

Dorian25 opened this issue Apr 18, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Dorian25
Copy link
Owner

Problem

  • Use of concurrent download with a thread pool (class ThreadPoolExecutor) sometimes causing some pages to fail to download.

Solution

  • Download sequencially (in a for loop) each page and add a random float delay (between 0 and 1 second) between download
@Dorian25 Dorian25 added the bug Something isn't working label Apr 18, 2023
@Dorian25 Dorian25 self-assigned this Jul 3, 2023
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

1 participant