Skip to main content

Manga scraper

Project description

MangaReaderScraper

Search & download mangas from the command line.

Install

To install:

pip install --user MangaReaderScraper

For development:

git clone https://github.com/superDross/MangaReaderScraper
pip install -r MangaReaderScraper/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
--upload Upload mangas to a cloud storage service

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MangaReaderScraper-0.3.tar.gz (20.7 kB view details)

Uploaded Source

File details

Details for the file MangaReaderScraper-0.3.tar.gz.

File metadata

  • Download URL: MangaReaderScraper-0.3.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.0

File hashes

Hashes for MangaReaderScraper-0.3.tar.gz
Algorithm Hash digest
SHA256 bf9a85d4d83c2b51013a2df541c6be172fb528922c1c5e74259eb0aea5310430
MD5 5c8080a7d9b513f2efe889d73d39a791
BLAKE2b-256 327daaa6cf7d250daadee84e871dad17783da3429690ca0d0d9ffc14d9c0294e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page