Skip to main content

hanimetv

CLI tool for downloading hentai from hanime.tv

Installation

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

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.

  • How can I send you death threats or feature requests?

Send an email to rxqv@waifu.club and I probably won't read it unless you ask nicely.

Metadata

Release files for hanimetv 1.2.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 hanimetv 1.2.1
File Size Uploaded Provenance
hanimetv-1.2.1.tar.gz 6.5 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 13.5 kB

Release files / hanimetv-1.2.1.tar.gz

Download URL hanimetv-1.2.1.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e2954d279c651758dc5743ae079fc041e2a5960a0250333ab57865a07928e3bd
BLAKE2b-256 checksum
How to use checksums
e02157d09910aca7ac14d6694d448fcda8ea516230ebc570e68dfc3b4927ab49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.9.9 Linux/5.15.0-1-amd64

Release files / hanimetv-1.2.1-py3-none-any.whl

Download URL hanimetv-1.2.1-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d0102164b6ed6630d5db953746ea786fb27a47fceba9507c78bda2dc67eedd9
BLAKE2b-256 checksum
How to use checksums
5b5765327a7b2dda2abab25d45c4f7ddd21b8c875c431c847ee73efece694c64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.9.9 Linux/5.15.0-1-amd64

Security for hanimetv 1.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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