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
File details
Details for the file anime-autodownloader-0.0.3.tar.gz
.
File metadata
- Download URL: anime-autodownloader-0.0.3.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.6 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5909025e8c8a5bab3cbb2a1cd822509b933eedfdea092b2a1f40ab3979875ecd |
|
MD5 | deaf4839cf0bcf8a0edaa7f35a42b061 |
|
BLAKE2b-256 | c3cfbc613fa1ee993b0b9f8eeba4102721d2e928d4d4c232a7bdc2c30cd3d2ce |
File details
Details for the file anime_autodownloader-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: anime_autodownloader-0.0.3-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.6 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebdc91384243a5dc29373a9521a489f21b93804bf5fa7b823ef19a8d8c4f1dd7 |
|
MD5 | 86508b6fc4c5c1e8de8281e0b85f3fcb |
|
BLAKE2b-256 | 692db0975a0d8956f0dc1c224745155ec6f8d48630faa9ed1e01a2b320a82f6a |