A package for downloading animes automatically from a given streaming website
Project description
anime-autodownloader
A package for automatically download animes. For now supported websites are
- AnimeUnity: https://animeunity.tv
Installation
To install from PyPI simple type
pip install anime-autodownloader
From source code
- You need first to install poetry https://python-poetry.org/docs/#installation
- Then clone this repository, go inside it and type the command
poetry install
Usage
import logging
from pathlib import Path
from anime_autodownloader import configure_logger, getNavigator, getSupportedSites, Downloader
loglevel = logging.INFO
logger = logging.getLogger()
configure_logger(logger, loglevel, logfile="anime_download.log")
nav = getNavigator("AnimeUnity", "https://www.animeunity.tv/anime/2791-jujutsu-kaisen")
logger.info("start")
output_dir = Path.home() / "Downloads"
nav.visitBaseUrl()
urls = nav.collectAllDownloadUrls()
dw = Downloader(num_workers=5, output_dir=output_dir)
dw.download_files(urls, timeout=5400, blocking=True)
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
Built Distribution
Close
Hashes for anime-autodownloader-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5909025e8c8a5bab3cbb2a1cd822509b933eedfdea092b2a1f40ab3979875ecd |
|
MD5 | deaf4839cf0bcf8a0edaa7f35a42b061 |
|
BLAKE2b-256 | c3cfbc613fa1ee993b0b9f8eeba4102721d2e928d4d4c232a7bdc2c30cd3d2ce |
Close
Hashes for anime_autodownloader-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebdc91384243a5dc29373a9521a489f21b93804bf5fa7b823ef19a8d8c4f1dd7 |
|
MD5 | 86508b6fc4c5c1e8de8281e0b85f3fcb |
|
BLAKE2b-256 | 692db0975a0d8956f0dc1c224745155ec6f8d48630faa9ed1e01a2b320a82f6a |