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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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