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

Commit 35d6a73

Browse files
authored
Merge pull request #1 from AbstractGeek/class-based-rewrite
Class based rewrite
2 parents 67ac920 + 89e7393 commit 35d6a73

File tree

4 files changed

+323
-78
lines changed

4 files changed

+323
-78
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2016 Dinesh Natesan
3+
Copyright (c) 2017 Dinesh Natesan
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Comic-scraper (Comic Downloader)
2-
Downloads comics from various websites and creates cbz files from them.
3-
Currently supports just readcomics.tv
1+
# Comic-scraper (Comic/Manga Downloader)
2+
Downloads comics and manga from various websites and creates cbz files from them.
3+
Currently supports readcomics.tv, mangafox.me and mangahere.co
44

55
## Installation
66

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

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

3838
## Usage
39+
### Comics
3940
Find your comic of interest in readcomics.tv. Copy the url of the comic page.
4041
For example, If I wanted to download spider-man-2016, I need to copy this url:
4142
http://www.readcomics.tv/comic/spider-man-2016
@@ -56,3 +57,16 @@ For example, if I want to download chapters 10-20, I use the following command
5657
comic-scraper -l ~/Comics/ -c 10:20 http://www.readcomics.tv/comic/spider-man-2016
5758
```
5859
Note: Only individual chapters or sequential chunks (start:stop) can currently be downloaded.
60+
61+
### Manga
62+
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/
63+
64+
To download all chapters of this manga, simply call the script and input the url.
65+
```
66+
comic-scraper http://mangafox.me/manga/kingdom/
67+
```
68+
69+
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:
70+
```
71+
comic-scraper -l ~/Comics/ -c 1:100 http://mangafox.me/manga/kingdom/
72+
```

0 commit comments

Comments
 (0)