A simple Python script to download Cyanide and Happiness comics
#Introduction
Cyanide & Happiness is a webcomic written and illustrated by Rob DenBleyker, Kris Wilson, Dave McElfatrick and formerly Matt Melvin. It is published on their website explosm.net. This script makes the use of the Python requests and Beautiful Soup modules to download the comics.
- Run the script
- Select the comic you want to download
- The comic will be downloaded to the directory the script is placed in
- Python 3
- Python requests module
- Python Beautiful Soup module
- Install Python.
- Go to Command Line.
- Run the following commands
``` $ py -m pip install bs4 ``` and ``` $ py -m pip install requests ``` # Accepted Input
Input | Action | Example |
---|---|---|
number | downloads a specific comic | number |
latest | downloads the latest comic | latest |
random | downloads a random comic | random |