Skip to main content

Simple manga console downloader

Project description

simple-manga-downloader

Simple manga console downloader written in python.

Currently supports:

Allows you to download manga in 5 ways:

  • all chapters of a series
  • a range of chapters (from 5 to 15)
  • a selection of chapters (5, 7, 10, 20)
  • only the newest chapter
  • check for new chapters for the tracked manga

Additional features of the downloader:

  • It will check if a chapter on mangadex.org has multiple uploads by different groups and ask which one to download
  • It handles the MangaPlus chapters
  • You can change the directory where the manga is saved
  • You can add ongoing manga to the tracked list for a easy way to check for new chapters
  • Config is saved as a .json for readability and easy modification
  • The downloader has a config "mode" that allows the modification of the config file without having to edit the .json manually

Installation

Requirements

  • BeautifulSoup 4
  • cfscrape

IMPORTANT!

cfscrape requires Node.js to be installed

pip

pip install simple-manga-downloader

USAGE

You can specify a different config to be used like this:

SMD -c "path/to/config" mode arguments

Examples:

SMD -c "~/Downloader/config.json" down link_to_manga -l
SMD -c "~/Downloader/config.json" update

Download mode

This mode will download the manga from the link based on your selection, accepts multiple links.

Download all of the chapters:

SMD down link_to_manga [more_links]

Download a range of chapters (both ends are inclusive):

SMD down link_to_manga [more_links] -r 1 20
SMD down link_to_manga [more_links] --range 1 20

Download specific chapters (works if numbers are not in order):

SMD down link_to_manga [more_links] -s 1 10 5 15
SMD down link_to_manga [more_links] --selection 1 10 5 15

Download the newest chapter (based on chapter number not time of upload):

SMD down link_to_manga [more_links] -l
SMD down link_to_manga [more_links] --latest

Exclude chapters from download (works together with -r and -s):

SMD down link_to_manga [more_links] -e 5 10 1
SMD down link_to_manga [more_links] --exclude 5 10 1

Download into a different directory:

SMD down link_to_manga -d "some/path"

Update mode

This mode will go over every manga tracked in the config and download every missing chapter

SMD update

Config mode

This mode allows the modification of the config file.

Adding a manga to the tracked list:

SMD conf -a link_to_manga [more_links]
SMD conf --add-tracked link_to_manga [more_links]

Removing a manga from the tracked list using links:

SMD conf -r link_to_manga [more_links]
SMD conf --remove-tracked link_to_manga [more_links]

Removing a manga from the tracked list by index:

SMD conf -r 5 1 3
SMD conf --remove-tracked 5 1 3

Note: You can't add and remove at the same time, if both -a and -r are present it will only add manga.

Removing a manga from the tracked list by title:

SMD conf -r title "title with spaces"
SMD conf --remove-tracked title "title with spaces"

Removal by index, title and link can be used together (works if multiple point to the same manga):

SMD conf -r link_to_manga 5 "sample title" link_to_manga 2

Clearing the tracked list:

SMD conf -t
SMD conf --clear-tracked

Changing the save directory:

SMD conf -s path/to/directory
SMD conf --save-directory path/to/directory

Toggle the covers setting:

SMD conf -c
SMD conf --covers

Reset the config to the default:

SMD conf -d
SMD conf --default

Listing all of the tracked manga(add -v/--verbose flag to also print the links):

SMD conf -l (-v)
SMD conf --list-tracked (--verbose)

Change the position of a manga:

SMD conf -m
SMD conf --modify-position

Print the config and download paths:

SMD conf -p
SMD conf --paths

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

simple-manga-downloader-1.4.0.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

simple_manga_downloader-1.4.0-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

Details for the file simple-manga-downloader-1.4.0.tar.gz.

File metadata

  • Download URL: simple-manga-downloader-1.4.0.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for simple-manga-downloader-1.4.0.tar.gz
Algorithm Hash digest
SHA256 2688c27134b8912b699a252628c5e555be5560eefa0b2e101f4869eecfd5e382
MD5 9a380fe1e1964faec22b94bf135fe10c
BLAKE2b-256 ed39ef4b3e00a3946862222c9c61e3ab3979d948fab858bb97944efe71979afd

See more details on using hashes here.

File details

Details for the file simple_manga_downloader-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: simple_manga_downloader-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 28.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for simple_manga_downloader-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 670f67ca04183032702e04bdbb6195e6f17e7f361fb3c449309409cc039edbad
MD5 38a9bc95b80577664c4b855d3e7b009f
BLAKE2b-256 4cf09dbddc0f2b9cc18e3f46778e02d558abc9ccaeb8ea06ee7addc7919821fa

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