Skip to main content

A package to search and download comics on ReadComicsOnline.ru

Project description

Comickaze

A package to search and download comics on ReadComicsOnline.ru.

Installation

pip install Comickaze

Usage

As a Package

from comickaze import Comickaze, Converter

# You dont need this, for testing purposes only
import random

download_dir = "download_dir"

c = Comickaze(log_level="VERBOSE")

# Searching
search_results = c.search_comics("Deadpool") # Returns a list of Suggestion object
random_suggestion = random.choice(search_results)

# Getting Comic info, returns Comic object
# Getting comic info from Suggestion object
comic = random_suggestion.get_comic()

# Getting comic info from URL
comic = c.get_comic("https://readcomicsonline.ru/comic/batman-the-adventures-continue-2020")

# Downloading Comic Chapters
# Output format choices: CBZ, PDF, IMG
download_dir = "download_dir"
output_format = Converter.CBZ

normal_downloader = c.create_downloader(comic.chapters, number_of_threads=1, output_format=output_format)
multithreaded_downloader = c.create_downloader(comic.chapters, number_of_threads=8, output_format=output_format)

# normal_downloader.start(download_dir)
multithreaded_downloader.start(download_dir)

TODO:

  • CLI
  • More CLI features
  • More sources.

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

Comickaze-2.0.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

Comickaze-2.0.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file Comickaze-2.0.0.tar.gz.

File metadata

  • Download URL: Comickaze-2.0.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for Comickaze-2.0.0.tar.gz
Algorithm Hash digest
SHA256 365a6ef67873e0be0af57263611647a5a9ed34d8d6b416ef1a68907872cebd2b
MD5 8f54e620f93874a2f6eda17a319e5050
BLAKE2b-256 4268b299ee387983c20dc8284c0a27568701b7ba98b20512ea236168fdbb7a5b

See more details on using hashes here.

File details

Details for the file Comickaze-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: Comickaze-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for Comickaze-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc137db7d19a401455622b7c57d1b8baf1fc6edb0f03451ebbd98b27f16b2550
MD5 60841c543d849603605561fd2f623971
BLAKE2b-256 49adafa29995cc39f5ecda7a163f5a5d769e366720a5a9eec18f75761dbd753e

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