Skip to content

Script to download all xkcd comics using web scraping.

License

Notifications You must be signed in to change notification settings

Arsenic-ATG/xkcd-comics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xkcd-comics

XKCD is a popular geek webcomic with a website full of interesting comics. The front page at http://xkcd.com/ has 'prev' and 'next' buttons that guide the user back and forth through the comics. Downloading each comic manually would take forever, but with this script it's just a matter of seconds ( depending on your internet speed ).

Some sample comic:

Dependencies

Language used

  • 🐍 Python

Setup required 🛠

  • Most of the stuff is plain Python scripts which will only require you to have Python installed on your device and an IDE/text editor to see and make changes to the scripts on your system.
  • If you don't have Python on your machine, you can download it from here

Additional Python libraries required for this project

python3 -m pip install -r requirements.txt

But how do I install additional packages? 🤨

  1. Make sure you have package manager (pip) installed on your system
  2. Go to command line and type python3 -m pip install -r requirements.txt
  3. For detailed information see Python's official tutorial on how to install packages

🏃‍♀️Get it running🏃‍♂️

  • 👯‍♂️clone/download using git@github.com:Arsenic-ATG/xkcd-comics.git
  • Run the Python script

Want to contribue ? 🤩

  • Your contributions are most welcomed here.
  • If your are a beginner or you want to contribute to documentation instead of code, then you should check out this issue

Liked it ? 😃

  • If you like this project then don't forget to give a star ⭐️
  • For more cool automations like this, you can head over to my Python automations repo

License

License