MangaReaderScraper
Search & download mangas from the command line.
Install
Requires Python3.7+
To install:
pip3 install --user MangaReaderScraper
For development:
git clone https://github.com/superDross/MangaReaderScraper
pip install -r MangaReaderScraper/dev_requirements.txt
export PYTHONPATH=$PYTHONPATH:/path/to/MangaReaderScraper/
Options
--search Search mangareader.net for a given query and select to download one of the mangas from the parsed searched results.
--manga Manga series name to download.
--volumes Manga series volume number to download.
--filetype Format to store manga as {PDF/CBZ}.
--output Directory to save downloads (defaults to ~/Downloads)
--source Website to scrape from {mangareader/mangafast} - mangakaka not longer works
--upload Upload mangas to a cloud storage service
--override_name Change manga name used to store volume(s) locally or in the cloud
--remove Delete the manga(s) after they have downloaded & uploaded
Config
The default config file lives in $HOME/.config/mangascraper.ini and is as below:
[config]
# directory to save downloaded files to
manga_directory = /home/dir/Download
# default website to download from
source = mangareader
# defaulta filetype to store mangas as
filetype = pdf
# root cloud directory to upload the manga to
upload_root = /
Uploading
Dropbox
Follow this guide to create a token. Then place the token into your config (~/.config/mangarscraper.ini):
[dropbox]
token = hdkd87799jjjj
Mega
Add your email and password to the config file:
[mega]
email = email@email.com
password = notapassword123
pCloud
Add you email and password to the config file:
[pcloud]
email = email@email.con
password = notapassword123
Example Usage
After using the search function, a table will appear and you will be asked to select a specific manga (type a number in the first column). You will subsequently be asked to download a specific volume. In the example below, Dragon Ball Super volume 1 has been selected for download.
$ manga-scraper --search dragon ball
+----+---------------------------------+-----------+--------+
| | Title | Volumes | Type |
|----+---------------------------------+-----------+--------|
| 0 | Dragon Ball: Episode of Bardock | 3 | Manga |
| 1 | Dragon Ball SD | 20 | Manga |
| 2 | DragonBall Next Gen | 4 | Manga |
| 3 | Dragon Ball | 520 | Manga |
| 4 | Dragon Ball Z - Rebirth of F | 3 | Manga |
| 5 | Dragon Ball Super | 29 | Manga |
+----+---------------------------------+-----------+--------+
Select manga number
>> 5
Dragon Ball Super has been selected for download.
Which volume do you want to download (Enter alone to download all volumes)?
>> 1-25 33 56
To download a manga directly:
# Download all Dragon Ball volumes & upload to dropbox
manga-scraper --manga dragon-ball --upload dropbox
# Download volume 2 of the Final Fantasy XII manga
manga-scraper --manga final-fantasy-xii --volumes 2
# Download Dragon Ball Super volumes 3-7 & 23
manga-scraper --manga dragon-ball-super --volumes 3-7 23
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file MangaReaderScraper-0.51.tar.gz.
File metadata
- Download URL: MangaReaderScraper-0.51.tar.gz
- Upload date:
- Size: 27.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49a8d10d748c90416557c9a44521afcac6ac251ba1fb902b2ba7b6615a6a431f
|
|
| MD5 |
d8f1244df25c1f1011944bfbeffad81c
|
|
| BLAKE2b-256 |
f6d0dcc4ffb9bb557944dfc784afb3e6864e5027712a2815da56dc6910133123
|