Skip to main content

hanime extractor plugin for yt-dlp

Project description

hanime-plugin

This yt-dlp plugin adds support for numerous hentai websites, including but not limited to hanime.tv, hstream.moe and HentaiHaven.

PyPI version

Installation

You can install this package with pip:

pip install --user hanime-plugin

[!WARNING] If a bug is fixed or a feature is added, but not released on PyPI yet, do this instead:

pip install "git+https://github.com/cynthia2006/hanime-plugin.git"

See installing yt-dlp plugins for other methods of installation.

Deno

hanime.tv extractor requires a JavaScript runtime. As of now, Deno is supported. Install it with these commands, and it would be available in PATH if you follow the onscreen instructions carefully.

# For Linux & MacOS
curl -fsSL https://deno.land/install.sh | sh
# For Windows (PowerShell)
irm https://deno.land/install.ps1 | iex

Support

The following is the support matrix of sites and the respective video resolutions offered. To request support for a site, or complain about a broken site, please open a Github issue.

720p 1080p 4K
hstream.moe ✅ † ✅ †
oppai.stream ✅ ‡ ✅ ‡
hentaihaven.com
hanime.tv ❌*
ohentai.org
hentaimama.io
hanime.red

* Requires paid membership, and is beyond the scope of this plugin.

AV1 codec. ‡ VP9 codec.

Examples

Downloading a single video

$ yt-dlp https://hanime.tv/videos/hentai/fuzzy-lips-1

or

$ yt-dlp -f - https://hentaihaven.com/video/soshite-watashi-wa-sensei-ni/episode-1

FAQ

ERROR: Data must be padded to 16 byte boundary in CBC mode

See https://github.com/yt-dlp/yt-dlp/issues/3810 and https://github.com/cynthia2006/hanime-plugin/issues/8

The issue is with yt-dlp's HLS fragment downloader, and a well-known fix is adding the --downloader ffmpeg option.

Why support for these sites aren't added to yt-dlp?

yt-dlp has a policy against piracy sites; hentai sites belong to that category. The original extractor for hanime.tv was a separate tool, unmaintained since 2021. I raised a feature request, but it was declined. I had maintained a fork of yt-dlp with a hanime.tv extractor adapted from the original code, before I lost access to that account. This plugin had initially been based off of that. Support for other sites have been added in late 2025.

Why doesn't the hanime.tv extractor work?

Please make sure Deno is installed, and the install directory (folder) is in PATH; if it's not, add it, following the instructions for your operating system, because otherwise it would not work.

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

hanime_plugin-2026.7.11.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

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

hanime_plugin-2026.7.11-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

Details for the file hanime_plugin-2026.7.11.tar.gz.

File metadata

  • Download URL: hanime_plugin-2026.7.11.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for hanime_plugin-2026.7.11.tar.gz
Algorithm Hash digest
SHA256 721ec08d7f4c630fa8bc1273e62638beaf03947b7a11a85b6650df16891ed552
MD5 286e8f757289493f7a2108897377f40b
BLAKE2b-256 3c90f80111b2077c5b00927dc5c4ae965a2328fd86e3cbafa4c94b760c055492

See more details on using hashes here.

File details

Details for the file hanime_plugin-2026.7.11-py3-none-any.whl.

File metadata

File hashes

Hashes for hanime_plugin-2026.7.11-py3-none-any.whl
Algorithm Hash digest
SHA256 c699a3c84e4867266443ab1bf6badd84eb1d3f00446b39b04f52f0b2b2b0f76b
MD5 9b4d2d3eef514661b7072396340c6ed2
BLAKE2b-256 cb923f69b67717c1720455a29e124bbc62874b1d31131aeae766500dbf7e8dd5

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