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)
Release files for anime-autodownloader 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| anime-autodownloader-0.0.3.tar.gz | 6.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| anime_autodownloader-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.1 kB
Release files / anime-autodownloader-0.0.3.tar.gz
| Download URL | anime-autodownloader-0.0.3.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5909025e8c8a5bab3cbb2a1cd822509b933eedfdea092b2a1f40ab3979875ecd
|
|
BLAKE2b-256 checksum How to use checksums |
c3cfbc613fa1ee993b0b9f8eeba4102721d2e928d4d4c232a7bdc2c30cd3d2ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.6 Darwin/21.6.0
|
Release files / anime_autodownloader-0.0.3-py3-none-any.whl
| Download URL | anime_autodownloader-0.0.3-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ebdc91384243a5dc29373a9521a489f21b93804bf5fa7b823ef19a8d8c4f1dd7
|
|
BLAKE2b-256 checksum How to use checksums |
692db0975a0d8956f0dc1c224745155ec6f8d48630faa9ed1e01a2b320a82f6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.6 Darwin/21.6.0
|