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 sources.
Project details
Release history Release notifications | RSS feed
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.0b1.tar.gz
(7.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Comickaze-2.0.0b1.tar.gz.
File metadata
- Download URL: Comickaze-2.0.0b1.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6600e677fa2de195037682526da602040f659e44f062d100bbae962475fbcddf
|
|
| MD5 |
ae7c990308b3339fa73ffa5de08fc8b8
|
|
| BLAKE2b-256 |
8ed4a24e30dd2c1bf09900705c61f8546b917e8039de9da43be30abf91d33c08
|
File details
Details for the file Comickaze-2.0.0b1-py3-none-any.whl.
File metadata
- Download URL: Comickaze-2.0.0b1-py3-none-any.whl
- Upload date:
- Size: 10.5 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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de50192534b0b2c0c464fcdc4992a72f8617e61acb50bbad9a33cb8f08ae746a
|
|
| MD5 |
520f14c569481a6c9f590c33506cf461
|
|
| BLAKE2b-256 |
77f268840e9857e4ce05de993eac143a8a20ee10c92f58f5e7cdf7a2b143f4ae
|