Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1 from AbstractGeek/class-based-rewrite
Browse files Browse the repository at this point in the history
Class based rewrite
  • Loading branch information
AbstractGeek committed Feb 4, 2017
2 parents 67ac920 + 89e7393 commit 35d6a73
Show file tree
Hide file tree
Showing 4 changed files with 323 additions and 78 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2016 Dinesh Natesan
Copyright (c) 2017 Dinesh Natesan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
24 changes: 19 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Comic-scraper (Comic Downloader)
Downloads comics from various websites and creates cbz files from them.
Currently supports just readcomics.tv
# Comic-scraper (Comic/Manga Downloader)
Downloads comics and manga from various websites and creates cbz files from them.
Currently supports readcomics.tv, mangafox.me and mangahere.co

## Installation

Expand All @@ -13,7 +13,7 @@ pip install comic-scraper
### Via pip (local)
Clone a copy of the repository using the following command:
```
git clone git@github.com:AbstractGeek/comic-scraper.git
git clone https://github.com/AbstractGeek/comic-scraper.git
```

Open your terminal into the folder and type this into it (sudo might be necessary):
Expand All @@ -33,9 +33,10 @@ These can simply be installed by:
```
pip install -r requirements.txt
```
That's it. Use comic_scraper.py to download comics
That's it. Use comic_scraper.py to download comics and manga.

## Usage
### Comics
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
Expand All @@ -56,3 +57,16 @@ 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.

### Manga
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/
```
Loading

0 comments on commit 35d6a73

Please sign in to comment.