IchBinLeoon / hanime

📥 Command-line tool to download videos from hanime.tv
MIT License
42 stars 3 forks source link
command-line downloader golang hanime hentai video

hanime

Go Release Commit License

Command-line tool to download videos from hanime.tv

Note: The main purpose of the downloader was to download 1080p videos without having a premium account. Due to a change in the API, this is currently no longer possible. For this reason, do not expect any major updates.

Requirements

Installation

Install via go install

Make sure you have Go installed.

go install github.com/IchBinLeoon/hanime@latest

Install from source

Make sure you have Go installed.

git clone https://github.com/IchBinLeoon/hanime
cd hanime
go build

You should now be provided with an executable.

Install from release

If you don't want to build the cli yourself, you can download an executable file here.

Usage

Download a video

hanime get https://hanime.tv/videos/hentai/XXX

Download multiple videos

hanime get https://hanime.tv/videos/hentai/XXX https://hanime.tv/videos/hentai/XXX ...

Specify the video quality

The -q or --quality flag sets the video quality. Default is 720.

hanime get https://hanime.tv/videos/hentai/XXX -q 480

Specify a custom output path and name

The -o or --output flag sets a custom output path and the -O or --Output flag sets a custom output name.

hanime get https://hanime.tv/videos/hentai/XXX -o /home/ichbinleoon/XXX -O XXX.mp4

Use a proxy

The -p or --proxy flag sets a proxy.

hanime get https://hanime.tv/videos/hentai/XXX -p XXX://host:port 

Display video info

The -i or --info flag displays information about the video.

hanime get https://hanime.tv/videos/hentai/XXX -i

Overwrite existing files

The -f or --force flag overwrites already existing files with the same name.

hanime get https://hanime.tv/videos/hentai/XXX -f

Download without asking

The -y or --yes flag downloads without asking for confirmation.

hanime get https://hanime.tv/videos/hentai/XXX -y

Contribute

Contributions are welcome! Feel free to open issues or submit pull requests!

License

MIT © IchBinLeoon