A CLI for downloading Anime from https://nyaa.si
Project description
Nyaa-cli
A CLI for downloading Anime from https://nyaa.si making use of their RSS Feed and python-libtorrent
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.
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
Usage
- Help:
nyaa --help
ornyaa-cli --help
Usage: nyaa [OPTIONS] ANIME [EPISODE]
Search for Anime on https://nyaa.si and downloads it
Usage:
nyaa "Anime Name" <Episode Number (Optional)> -o <Output Folder (Default = "~/Videos/Anime")>
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:
# Downloading Episode 14 of 'Steins;gate' to '~/Anime/Steins;Gate' nyaa "Steins;Gate" 14 -o ~/Anime/Steins\;Gate
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nyaacli-0.3.2.tar.gz
.
File metadata
- Download URL: nyaacli-0.3.2.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.15.28-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dd8835fd3aad6e19c8b3bc645a532d9ae260ab3303f3a5debfca2bd3ad8a490 |
|
MD5 | ffccb82f41198a2a781f75f1b4e18169 |
|
BLAKE2b-256 | cc5f8fee785add48413012763a44ce17d52413dbc9b091af438265d5b924af7a |
File details
Details for the file nyaacli-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: nyaacli-0.3.2-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.15.28-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c9dfa90de430cc76c2e0c19225ffd4818803250ace79cd34e33f384d7a7186b |
|
MD5 | 1149d444c15c7c425749583d29612b3e |
|
BLAKE2b-256 | f9bff428f3a52957b95c00f94a71b69584ce070d3e0879dffd2a76cd89fcb521 |