https://github.com/johnvictorfs/nyaa-cli
A CLI for downloading Anime from nyaa
https://github.com/johnvictorfs/nyaa-cli
anime cli torrent
Last synced: 5 months ago
JSON representation
A CLI for downloading Anime from nyaa
- Host: GitHub
- URL: https://github.com/johnvictorfs/nyaa-cli
- Owner: johnvictorfs
- License: mit
- Created: 2019-05-24T02:36:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-01T17:01:24.000Z (about 4 years ago)
- Last Synced: 2024-08-09T17:34:23.450Z (almost 2 years ago)
- Topics: anime, cli, torrent
- Language: Python
- Homepage: https://pypi.org/project/nyaacli
- Size: 115 KB
- Stars: 36
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Nyaa-cli [](https://opensource.org/licenses/MIT) [](https://pypi.org/project/nyaacli/) [](https://nyaa.si)
A CLI for downloading Anime from https://nyaa.si making use of their RSS Feed and [python-libtorrent](https://github.com/arvidn/libtorrent/blob/RC_1_2/docs/python_binding.rst)
**Warning:** Only tested on Linux. Windows or MacOS support is not guaranteed, feel free to open issues about it, but I don't have any non-Linux machines to test any problems related to other OSes.
[CHANGELOG](CHANGELOG.md)
---

---

---

---
## Installing
- `python3 -m pip install nyaacli --user`
- *Note:* python-libtorrent will still need to be downloaded separately as shown below
- This Program depends on libtorrent together with its Python API, which can be installed using apt on debian-based linux distros with `sudo apt install python3-libtorrent` (`libtorrent-rasterbar` with pacman for Arch-based distros) or can be built from source here: [python-libtorrent](https://github.com/arvidn/libtorrent/blob/RC_1_2/docs/python_binding.rst)
---
## Usage
- **Help:** `nyaa --help` or `nyaa-cli --help`
```bash
Usage: nyaa [OPTIONS] ANIME [EPISODE]
Search for Anime on https://nyaa.si and downloads it
Usage:
nyaa "Anime Name" -o
Example:
nyaa "Kimetsu no Yaiba" 19 -o /home/user/My/Animes/Folder/Kimetsu_No_Yaiba/
Options:
-o, --output PATH Output Folder [default: ~/Videos/Anime]
-n, --number INTEGER Number of entries [default: 10]
-s, --sort-by TEXT Sort by [default: seeders]
-t, --trusted Only search trusted uploads
-d, --debug Debug Mode
-c, --client Use Torrent Client
-p, --player Open in Video Player after download
--help Show this message and exit.
```
- **Example:**
```bash
# Downloading Episode 14 of 'Steins;gate' to '~/Anime/Steins;Gate'
nyaa "Steins;Gate" 14 -o ~/Anime/Steins\;Gate
```