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

Commit 65a8a67

Browse files
committed
merging conflicts
2 parents 225af7d + a61190b commit 65a8a67

File tree

2 files changed

+36
-33
lines changed

2 files changed

+36
-33
lines changed

README.md

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# 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
2+
Downloads comics and manga from various websites and creates pdf or cbz files from them.
3+
Currently supports mangafox.me and mangahere.co (more coming up soon).
44

55
## Installation
66

77
### Via pip
8-
To install the comic scraper, simply type this into your terminal (sudo might be necessary):
8+
To install the comic scraper, simply type this into your terminal (```sudo -EH``` might be necessary):
99
```
1010
pip install comic-scraper
1111
```
@@ -28,6 +28,7 @@ The script is written in python. It requires the following packages:
2828
1. BeautifulSoup4
2929
2. requests
3030
3. futures (concurrent.futures)
31+
4. img2pdf
3132

3233
These can simply be installed by:
3334
```
@@ -36,37 +37,33 @@ pip install -r requirements.txt
3637
That's it. Use comic_scraper.py to download comics and manga.
3738

3839
## Usage
39-
### Comics
40-
Find your comic of interest in readcomics.tv. Copy the url of the comic page.
41-
For example, If I wanted to download spider-man-2016, I need to copy this url:
42-
http://www.readcomics.tv/comic/spider-man-2016
40+
### Manga
41+
Find your comic of interest in mangafox/mangahere. Copy the url of the comic page (https supported).
42+
For example, If I wanted to download kingdom manga, I need to copy this url:
43+
https://mangafox.me/manga/kingdom/
4344

4445
To download all the chapters of the comic, simply call the script and input the url.
4546
```
46-
comic-scraper http://www.readcomics.tv/comic/spider-man-2016
47+
comic-scraper https://mangafox.me/manga/kingdom/
4748
```
4849

4950
If you want to set a custom location, add -l and input the location
5051
```
51-
comic-scraper -l ~/Comics/ http://www.readcomics.tv/comic/spider-man-2016
52+
comic-scraper -l ~/Comics/ https://mangafox.me/manga/kingdom/
5253
```
5354

5455
If you want to download a select few chapters, add -c and input the chapter numbers.
5556
For example, if I want to download chapters 10-20, I use the following command
5657
```
57-
comic-scraper -l ~/Comics/ -c 10:20 http://www.readcomics.tv/comic/spider-man-2016
58+
comic-scraper -l ~/Comics/ -c 10:20 https://mangafox.me/manga/kingdom/
5859
```
5960
Note: Only individual chapters or sequential chunks (start:stop) can currently be downloaded.
6061

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.
62+
Download format can be specified too. The current default is pdf, but comics can be downloaded as cbz files using the following command.
6563
```
66-
comic-scraper http://mangafox.me/manga/kingdom/
64+
comic-scraper -l ~/Comics/ -c 10:20 -f cbz https://mangafox.me/manga/kingdom/
6765
```
6866

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-
```
67+
68+
### Comics
69+
Coming soon...

setup.py

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,36 @@
11
from setuptools import setup
22

33
setup(name='comic-scraper',
4-
version='0.5.2',
5-
description='Scraps comics,mangas and creates cbz files for offline reading',
4+
version='0.6.0',
5+
description='Scraps comics,mangas and creates cbz (/pdf) files for offline reading',
66
url='https://github.com/AbstractGeek/comic-scraper',
7-
download_url='https://github.com/AbstractGeek/comic-scraper/tarball/0.5.2',
7+
download_url='https://github.com/AbstractGeek/comic-scraper/tarball/0.6.0',
88
author='Dinesh Natesan',
99
author_email='[email protected]',
1010
license='MIT',
1111
classifiers=[
12-
'Development Status :: 3 - Alpha',
13-
'License :: OSI Approved :: MIT License',
14-
'Programming Language :: Python :: 3.5',
15-
'Topic :: Games/Entertainment',
12+
'Development Status :: 3 - Alpha',
13+
'License :: OSI Approved :: MIT License',
14+
'Programming Language :: Python :: 3.5',
15+
'Topic :: Games/Entertainment',
1616
],
1717
keywords='comics manga scraper',
1818
packages=['comic_scraper'],
1919
install_requires=[
20-
'beautifulsoup4',
21-
'futures',
22-
'requests',
23-
'numpy'
20+
'beautifulsoup4==4.6.0',
21+
'certifi==2017.7.27.1',
22+
'chardet==3.0.4',
23+
'futures==3.1.1',
24+
'idna==2.6',
25+
'img2pdf==0.2.4',
26+
'olefile==0.44',
27+
'Pillow==4.3.0',
28+
'requests==2.18.4',
29+
'urllib3==1.22'
2430
],
2531
entry_points={
26-
'console_scripts':
27-
['comic-scraper=comic_scraper.comic_scraper:main'],
28-
},
32+
'console_scripts':
33+
['comic-scraper=comic_scraper.comic_scraper:main'],
34+
},
2935
include_package_data=True,
3036
zip_safe=False)

0 commit comments

Comments
 (0)