Skip to main content

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

Installation

To install from PyPI simple type

pip install anime-autodownloader

From source code

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anime-autodownloader-0.0.3.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

anime_autodownloader-0.0.3-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

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

Hashes for anime-autodownloader-0.0.3.tar.gz
Algorithm Hash digest
SHA256 5909025e8c8a5bab3cbb2a1cd822509b933eedfdea092b2a1f40ab3979875ecd
MD5 deaf4839cf0bcf8a0edaa7f35a42b061
BLAKE2b-256 c3cfbc613fa1ee993b0b9f8eeba4102721d2e928d4d4c232a7bdc2c30cd3d2ce

See more details on using hashes here.

File details

Details for the file anime_autodownloader-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for anime_autodownloader-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ebdc91384243a5dc29373a9521a489f21b93804bf5fa7b823ef19a8d8c4f1dd7
MD5 86508b6fc4c5c1e8de8281e0b85f3fcb
BLAKE2b-256 692db0975a0d8956f0dc1c224745155ec6f8d48630faa9ed1e01a2b320a82f6a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page