Downloads comics and manga from various websites and creates cbz files from them. Currently supports readcomics.tv, mangafox.me and mangahere.co
To install the comic scraper, simply type this into your terminal (sudo might be necessary):
pip install comic-scraper
Clone a copy of the repository using the following command:
git clone https://github.com/AbstractGeek/comic-scraper.git
Open your terminal into the folder and type this into it (sudo might be necessary):
pip install .
The script is written in python. It requires the following packages:
- BeautifulSoup4
- requests
- futures (concurrent.futures)
These can simply be installed by:
pip install -r requirements.txt
That's it. Use comic_scraper.py to download comics and manga.
Find your comic of interest in readcomics.tv. Copy the url of the comic page. For example, If I wanted to download spider-man-2016, I need to copy this url: http://www.readcomics.tv/comic/spider-man-2016
To download all the chapters of the comic, simply call the script and input the url.
comic-scraper http://www.readcomics.tv/comic/spider-man-2016
If you want to set a custom location, add -l and input the location
comic-scraper -l ~/Comics/ http://www.readcomics.tv/comic/spider-man-2016
If you want to download a select few chapters, add -c and input the chapter numbers. For example, if I want to download chapters 10-20, I use the following command
comic-scraper -l ~/Comics/ -c 10:20 http://www.readcomics.tv/comic/spider-man-2016
Note: Only individual chapters or sequential chunks (start:stop) can currently be downloaded.
The syntax for downloading manga is exactly the same as the comics. For example, if I wanted to download kindom manga, I need to copy the url from mangafox (or mangahere) website: http://mangafox.me/manga/kingdom/
To download all chapters of this manga, simply call the script and input the url.
comic-scraper http://mangafox.me/manga/kingdom/
To download selected chapters, add -c and input the chapter numbers. To set a custom location, add -l and input the location. Here is an example:
comic-scraper -l ~/Comics/ -c 1:100 http://mangafox.me/manga/kingdom/