Skip to main content

Auto uploader to Nyaa

Project description

Nyaaup

Nyaaup is an auto uploader to Nyaa sites, mainly for videos.

Requirements

  • Python 3.10 to 3.13
  • Poetry 2.0.0 or newer (to install Python package dependencies)

Dependencies

Installation

pypi

pip install nyaaup

source

  1. git clone https://github.com/varyg1001/nyaaup
  2. cd nyaaup
  3. poetry config virtualenvs.in-project true (optional, but recommended)
  4. poetry install or python install.py
  5. nyaaup -h

Commands

  • up
  • auth

Examples usage

nyaaup auth -c user:pass
nyaaup -p 5 -c 1 -a -m https://myanimelist.net/anime/50652/ /path/example.mkv
nyaaup up -sm -c 1 /path/example_folder

Usage

up

Usage: nyaaup up [OPTIONS] [PATH]...

   Upload torrents to Nyaa

Upload Tags:
   -u, --uncensored              Use Uncensored tag in title.
   -ms, --multi-subs             Use Multi-Subs tag in title.
   -da, --dual-audio             Use Dual-Audio tag in title.
   -ma, --multi-audios           Use Multi-Audios tag in title.
   -a, --auto / -na, --no-auto   Auto detect Multi-Subs, Multi-Audios or Dual-Audio. (default: True)

Upload Settings:
   -an, --anonymous      Set upload as anonymous.
   -hi, --hidden         Set upload as hidden.
   -co, --complete       Set upload as complete batch.
   -re, --remake         Set upload as remake.
   -s, --skip-upload     Skip torrent upload.
   -c, --category TEXT   Select a category.
   -w, --watch-dir DIR   Path of the watch directory.

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.
   -ad, --advert TEXT        Put advert in to the description.
   -m, --myanimelist URL     MyAnimeList link to use.
   -t, --telegram            Post to telegram.
   -sm, --skip-myanimelist   Skip MyAnimeList.

Media Settings:
   -p, --pictures-number EXTENSION         Number of pictures to use (default: 3).
   -pe, --picture-extension NUM            Extension of the pictures.
   -M, --no-mediainfo                      Do not attach Mediainfo to the torrent.
   -o, --overwrite / -no, --no-overwrite   Create torrent file even if exists. (default: True)

Other options:
   -ch, --category-help   Print available categories.
   -h, --help             Show this message and exit.

auth

Usage: nyaaup auth [OPTIONS]

   Authenticate and configure settings

Config File:
   -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.

Other options:
   -co, --cookie path   Cookies file from nyaa. (Cookies must be in the standard Netscape cookies file format)
   -h, --help           Show this message and exit.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nyaaup-5.5.0.tar.gz (31.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nyaaup-5.5.0-py3-none-any.whl (34.8 kB view details)

Uploaded Python 3

File details

Details for the file nyaaup-5.5.0.tar.gz.

File metadata

  • Download URL: nyaaup-5.5.0.tar.gz
  • Upload date:
  • Size: 31.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.11.7 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for nyaaup-5.5.0.tar.gz
Algorithm Hash digest
SHA256 25b3e088e4101f6f12ffd53c6c046c819db34c17142444f7385dbae7734004da
MD5 7b5d15f00c3046919bc46592e5e84b02
BLAKE2b-256 0081a49c7f8cc66b20ca3628cf50612d2243d0dfece5fce1188dc9d234db0aa5

See more details on using hashes here.

File details

Details for the file nyaaup-5.5.0-py3-none-any.whl.

File metadata

  • Download URL: nyaaup-5.5.0-py3-none-any.whl
  • Upload date:
  • Size: 34.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.11.7 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for nyaaup-5.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac75a262b1221521de3f8ceb5cbbdb9cfc79c2a1f2f18c0b174ebd88fb980555
MD5 c3a88b848c48dbd78399f7c6895bb9fc
BLAKE2b-256 ba0035ff12f76465deb08b7f21c837587f381e630a8c7f44ead3978c0839da65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page