Skip to content

Downloading all xkcd comics using web scraping.

Notifications You must be signed in to change notification settings

eg180/xkcd-comics

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 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 guides the user back and forth through comics. Downloading each comic by hand would take forever,but with this script it will matter of minutes.

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 then you can download it from here

Additional python libraries required for this project

  • beautifulsoup4
  • requests

But how do I install additonal packages? 🤨

  1. Make sure you have python package manager (pip) installed on your system
  2. Go to command line and type pip install <library name> { pip3 on mac }
  3. For detailed information see python's official tutorial on how to install packages

🏃‍♀️Get it running🏃‍♂️

  • 👯‍♂️clone/download using [email protected]:Arsenic-ATG/xkcd-comics.git
  • Run the python script

Want to contribue ? 🤩

  • Your contribution 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

About

Downloading all xkcd comics using web scraping.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%