Skip to main content

CLI tool to download videos from openani.me

Project description

openani-dl

CLI tool to download videos from openani.me.

Install

pip install openani-dl

For browser-based fallback (Cloudflare bypass):

pip install 'openani-dl[playwright]'
playwright install chromium

Usage

Download a single episode:

openani-dl download "https://openani.me/anime/<slug>/<season>/<episode>" --quality 720p

Batch download episodes 1-12:

openani-dl batch "https://openani.me/anime/<slug>/<season>/1" --start 1 --end 12

Inspect available video sources:

openani-dl inspect "https://openani.me/anime/<slug>/<season>/<episode>"

Options

Flag Default Description
-o, --output . Output directory
-q, --quality best Video quality (best, 1080, 720, 480)
--browser false Use Playwright browser for Cloudflare bypass

How it works

  1. Fetches the episode page and extracts the CDN host and video file list from embedded JavaScript data
  2. Constructs direct MP4 download URLs (no HLS/DASH)
  3. Downloads using yt-dlp (supports resume, concurrent fragments)

Video files are served as plain MP4 from dynamic CDN hosts. No authentication required for video access.

Requirements

  • Python 3.10+
  • yt-dlp (automatically installed)
  • ffmpeg (optional, for some merge operations)

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

openani_dl-0.1.0.tar.gz (20.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openani_dl-0.1.0-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file openani_dl-0.1.0.tar.gz.

File metadata

  • Download URL: openani_dl-0.1.0.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for openani_dl-0.1.0.tar.gz
Algorithm Hash digest
SHA256 16dadf27eb462df2182ebddf68d25bc9a941fe4f026d895c37398180c74fb380
MD5 bd25be30f158ea495078f6c284cf8a3c
BLAKE2b-256 762b84d3b8ea3447995619050eb98797cd5acc878fb398ef601be7bc1e0e225d

See more details on using hashes here.

File details

Details for the file openani_dl-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: openani_dl-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for openani_dl-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4251deac3a9f892d06c3cde613a7ab1bd0aff44ad07116172e4eebb396fe90e1
MD5 78bce2e4f1e78faca302f847a110bfa6
BLAKE2b-256 d15bdea43d754ce483898ebf4002cc6896cb3d03e5e1c4861521312577cf1771

See more details on using hashes here.

Supported by

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