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:

  • <input type="checkbox" checked="" disabled="" /> CLI
  • <input type="checkbox" disabled="" /> More CLI features
  • <input type="checkbox" disabled="" /> 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.

Files for Comickaze, version 2.0.0
Filename, size File type Python version Upload date Hashes
Filename, size Comickaze-2.0.0-py3-none-any.whl (10.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size Comickaze-2.0.0.tar.gz (7.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page