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

Improved xkcd_downloader.py #1

Closed
wants to merge 7 commits into from
Closed

Conversation

rubenroy
Copy link

Simplified the code using requests and BeautifulSoup

Simplified the code using requests and BeautifulSoup
Using the JSON API instead of parsing HTML.
Content is now downloaded asynchronously using basic threading.
Fixed bug in detecting range of comic numbers.
Saving transcript instead of just the alt-text.
Threads are created at startup and are reused.
Links with 301 redirection will now work.
Locks are replaced with queues.
@rubenroy rubenroy closed this Jul 11, 2022
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

Successfully merging this pull request may close these issues.

1 participant