Auto torrent uploader to Nyaa.si
Nyaaup is an auto torrent uploader to Nyaa sites, mainly for videos. Works both on Linux and windows.
- FFmpeg for image generating.
- ImageMagick for pyoxipng
Run ./install.py
or ./install.sh
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
nyaaup auth -c user:pass
nyaaup up -p 5 -c 1 -a -m https://myanimelist.net/anime/50652/ /path/Boku.to.Roboco.S01E06.1080p.AMZN.WEB-DL.DDP2.0.H.264-VARYG.mkv
nyaaup up -ms -c 1 /path/My.Master.Has.No.Tail.S01.1080p.AMZN.WEB-DL.DDP2.0.H.264-VARYG
nyaaup v4.0.0
Auto torrent uploader to Nyaa
USAGE: nyaaup up [-h] [-ch] [-ms] [-t] [-da] [-ma] [-a] [-an] [-hi] [-co] [-re] [-s] [-e EDIT_CODE] [-i INFO] [-p PICTURES_NUMBER]
[-pe PICTURE_EXTENSION] [-n NOTE] [-M] [-m MYANIMELIST] [--skip-myanimelist] [-c CATEGORY] [-o]
╭─ Positional arguments ─────────────────────────────────────────────────────╮
│ path File or directory to upload. │
╰────────────────────────────────────────────────────────────────────────────╯
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ -h, --help show this help message and exit │
│ -ch, --category-help Print available categories. │
│ -ms, --multi-subs Add Multi Subs tag to title. │
│ -t, --telegram Send telegram message. │
│ -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. │
│ -an, --anonymous Upload torrent as anonymous. │
│ -hi, --hidden Upload the torrent as hidden. │
│ -co, --complete If the torrnet is a complete batch. │
│ -re, --remake If the torrnet is a remake. │
│ -s, --skip-upload Skip torrent upload. │
│ -e, --edit-code EDIT_CODE Use uniq edit code for mediainfo on rentry.co │
│ -i, --info INFO Set information. │
│ -p, --pictures-number PICTURES_NUMBER Number of picture to upload to the torrent (default: 3). │
│ -pe, --picture-extension PICTURE_EXTENSION Extension of the snapshot to upload (default: png). │
│ -n, --note NOTE Put a note in to the description. │
│ -M, --no-mediainfo Do not attach mediainfo to the torrent (provider rentry.co). │
│ -m, --myanimelist MYANIMELIST MyAnimeList link. │
│ --skip-myanimelist Skip anything that connect to MyAnimeList (in case of downtime). │
│ -c, --category CATEGORY Select a category, for help use: --category-help. │
│ -o, --overwrite Recreate the .torrent if it already exists. │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯