Skip to main content

hanimetvdl

CLI tool for downloading hentai from hanime.tv

Installation

Install ffmpeg with whatever package manager you use, then run pip install hanimetvdl.

CLI Usage

usage: htv [-h] [--tags TAGS [TAGS ...]] [--broad-tag-match] [--blacklist BLACKLIST [BLACKLIST ...]] [--company COMPANY [COMPANY ...]] [--page PAGE] [--sort-by SORT_BY] [--sort-order SORT_ORDER] [--roll-search] [--resolution RESOLUTION] [--index INDEX [INDEX ...]] [--all] [--folder] [--franchise] [--url] [--metadata] [--verbose] [video ...]

positional arguments:
  video                 Video URL or search term

optional arguments:
  -h, --help            show this help message and exit
  --tags TAGS [TAGS ...], -t TAGS [TAGS ...]
                        Tags to search for
  --broad-tag-match     Match videos including any tags specified by --tags
  --blacklist BLACKLIST [BLACKLIST ...], -b BLACKLIST [BLACKLIST ...]
                        Blacklisted tags
  --company COMPANY [COMPANY ...], -c COMPANY [COMPANY ...]
                        Companies/brands to filter by
  --page PAGE, -p PAGE  Page # of search results
  --sort-by SORT_BY, -s SORT_BY
                        Sorting method for search results ([u]pload, [v]iews, [l]ikes, [r]elease, [t]itle)
  --sort-order SORT_ORDER, -w SORT_ORDER
                        Order of sorting ([a]scending or [d]escending)
  --roll-search, -R     Roll all search pages into one long page, useful for large-volume downloads
  --resolution RESOLUTION, -r RESOLUTION
                        Resolution of download, default 1080
  --index INDEX [INDEX ...], -i INDEX [INDEX ...]
                        Index of search results to download
  --all, -a             Download all search results in page
  --folder, -F          Create folders by franchise when downloading
  --franchise, -f       Download the video and all other videos in its franchise
  --url, -u             Show urls of the source video, do not download
  --metadata, -m        Show metadata of the source video, do not download
  --verbose, -v         Enable verbose logging for video download

There are some special search terms you can use.

  • htv ALL - Shows all results matching filters
  • htv random - Random list of hentai
  • htv new-uploads - Shows the newest uploads
  • htv new-releases - Shows the newest releases

FAQ

  • Can this download 1080p videos without Premium?

Not anymore. This utility used to be able to do this, but a breaking API change caused this functionality to stop working.

  • How do I download all videos matching a filter?

htv ALL -R -a <FILTER> will do this. Some examples:

Download all videos from a brand:

htv ALL -R -a -c "<BRAND>"

Download all videos matching a particular tag:

htv ALL -R -a -t "<TAG>"

  • When I search for brand or tag XYZ, it shows empty search results

If you are using tag, company, or blacklist filtering for search, you will need to make sure that the filters have quotes around them and are spelled correctly.

Example: htv ALL -c majin label will show empty search results, but htv ALL -c "magin label" will show the correct results.

Release files for hanimetvdl 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hanimetvdl 0.0.1
File Size Uploaded
hanimetvdl-0.0.1.tar.gz 5.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hanimetvdl 0.0.1
File Interpreter ABI Platform
hanimetvdl-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 12.7 kB

Release files / hanimetvdl-0.0.1.tar.gz

Download URL hanimetvdl-0.0.1.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
10589e09f5541b7440f4ac478ea9c0318084eb0221098246ef075077f0ecae66
BLAKE2b-256 checksum
How to use checksums
3ef2c7f2cf099d9977ed546109bea547cd2943a2d796ddc43706af9a73f37101
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.15 Linux/5.4.0-196-generic

Release files / hanimetvdl-0.0.1-py3-none-any.whl

Download URL hanimetvdl-0.0.1-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
61b4b1911115cf22f4a14607401500204e32609f66efcb932b6be248be0048bf
BLAKE2b-256 checksum
How to use checksums
3a310f74aea8365a806f4b1cd31ed82f5f665d0e37a8736afca5de02e6c64e15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.15 Linux/5.4.0-196-generic

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page