Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/IchBinLeoon/hanime

📥 Command-line tool to download videos from hanime.tv
https://github.com/IchBinLeoon/hanime

command-line downloader golang hanime hentai video

Last synced: 3 months ago
JSON representation

📥 Command-line tool to download videos from hanime.tv

Awesome Lists containing this project

README

        

# hanime
[![Go](https://img.shields.io/github/go-mod/go-version/IchBinLeoon/hanime?style=flat-square)](https://golang.org/)
[![Release](https://img.shields.io/github/v/release/IchBinLeoon/hanime?style=flat-square)](https://github.com/IchBinLeoon/hanime/releases)
[![Commit](https://img.shields.io/github/last-commit/IchBinLeoon/hanime?style=flat-square)](https://github.com/IchBinLeoon/hanime/commits/main)
[![License](https://img.shields.io/github/license/IchBinLeoon/hanime?style=flat-square)](https://github.com/IchBinLeoon/hanime/blob/main/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](#Requirements)
- [Installation](#Installation)
- [Install via go install](#Install-via-go-install)
- [Install from source](#Install-from-source)
- [Install from release](#Install-from-release)
- [Usage](#Usage)
- [Download a video](#Download-a-video)
- [Download multiple videos](#Download-multiple-videos)
- [Specify the video quality](#Specify-the-video-quality)
- [Specify a custom output path and name](#Specify-a-custom-output-path-and-name)
- [Use a proxy](#Use-a-proxy)
- [Display video info](#Display-video-info)
- [Overwrite existing files](#Overwrite-existing-files)
- [Download without asking](#Download-without-asking)
- [Contribute](#Contribute)
- [License](#License)

## Requirements
- [FFmpeg](https://www.ffmpeg.org/)

## Installation
### Install via go install
Make sure you have [Go](https://golang.org/) installed.
```
go install github.com/IchBinLeoon/hanime@latest
```

### Install from source
Make sure you have [Go](https://golang.org/) 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](https://github.com/IchBinLeoon/hanime/releases).

## 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](https://github.com/IchBinLeoon/hanime/blob/main/LICENSE)