Small scraping project to play around with rust.
Scrapes nyaa.si and allows you to download files from there using aria2.
only tested for the linux operating system.
From source
This requires you to have cargo set-up on your system.
Either use your package manager to install rustup
, or follow the official rust Getting started
git clone https://github.com/woolw/nyaa-tui.git
cd nyaa-tui/
cargo run --release
Binary
You can find the latest binary here.
After you downloaded the binary, you can execute it from the terminal:
chmod +x nyaa-tui
./nyaa-tui
Or make it executable from everywhere:
chmod +x nyaa-tui
sudo cp nyaa-tui /usr/local/bin/
Package
nyaa-tui is now available in the AUR
yay -S nyaa-tui
details
-
From source
Just delete the cloned folder. -
Binary
sudo rm /usr/local/bin/nyaa-tui
- AUR
yay -R nyaa-tui
Info
Normal execution
This will download all content to the execution-directory:
nyaa-tui
If you want to set the download location to another directory, use the --dir=
flag followed by the full path:
nyaa-tui --dir=${HOME}/Downloads
- crossterm (crates.io | github)
- ratatui (crates.io | github)
- reqwest (crates.io | github)
- reqwest-retry (crates.io | github)
- reqwest-middleware (crates.io | github)
- tokio (crates.io | github)
- unhtml (crates.io | github)
- serde (crates.io | github)
- serde_json (crates.io | github)
- dirs (crates.io | github)
- openssl
- aria2