Auto uploader to Nyaa
Nyaaup is an auto uploader to Nyaa sites, mainly for videos.
- FFmpeg for image generating.
- ImageMagick for pyoxipng
Run ./install.py
to install the tool and its dependencies
git clone https://github.com/varyg1001/nyaaup
cd nyaaup
poetry config virtualenvs.in-project true
(optional, but recommended)poetry install
nyaaup -h
- up
- auth
nyaaup auth -c user:pass
nyaaup -p 5 -c 1 -a -m https://myanimelist.net/anime/50652/ /path/example.mkv
nyaaup -sm -c 1 /path/example_folder
Usage: nyaaup up [OPTIONS] [PATH]...
Upload torrents to Nyaa
Upload Tags:
-ms, --multi-subs Add Multi Subs tag to title.
-da, --dual-audios Add Dual audios tag to title.
-ma, --multi-audios Add Multi audios tag to title.
-a, --auto Detect multi subs, multi audios and dual audios.
Upload Settings:
-an, --anonymous Upload torrent as anonymous.
-hi, --hidden Upload the torrent as hidden.
-co, --complete If the torrent is a complete batch.
-re, --remake If the torrent is a remake.
-s, --skip-upload Skip torrent upload.
-c, --category TEXT Select a category.
Content Information:
-e, --edit-code TEXT Set edit code for Mediainfo on Rentry.co
-i, --info TEXT Set information.
-n, --note TEXT Put a note in to the description.
-m, --myanimelist TEXT MyAnimeList link.
-sm, --skip-myanimelist TEXT Skip myanimelist.
Media Settings:
-p, --pictures-number INTEGER Number of pictures to upload (default: 3).
-pe, --picture-extension TEXT Extension of the snapshot to upload.
-M, --no-mediainfo Do not attach Mediainfo to the torrent.
-o, --overwrite Recreate the .torrent if it already exists.
Other options:
-ch, --category-help Print available categories.
-h, --help Show this message and exit.
Usage: nyaaup auth [OPTIONS]
Authenticate and configure settings
Options:
-c, --credential USER:PASS Add or replace credential.
-a, --announces NAME Add new announces url to config.
--proxy NAME Add or replace proxy to use for uploading to nyaa site.
-d, --domain NAME Add or replace domain name for nyaa site.
-p, --provider NAME Provider name for config.
-h, --help Show this message and exit.