Auto uploader to Nyaa
Project description
Nyaaup
Nyaaup is an auto uploader to Nyaa sites, mainly for videos.
Requirements
Dependencies
- FFmpeg for image generating.
- ImageMagick for pyoxipng
Installation
pypi
pip install nyaaup
from source
git clone https://github.com/varyg1001/nyaaupcd nyaauppython install.pyoruv sync --frozennyaaup -h
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.
-t, --telegram Post to telegram.
-l, --link URL Link to set anime manually.
-sl, --skip-database Skip anime database.
-d, --database [myanimelist|anilist] Anime database to use for info. (Default: 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.
Example commands
nyaaup auth -c user:pass
nyaaup -p 5 -c 1 -a -m https://myanimelist.net/anime/58935 /path/example.mkv
nyaaup up -sm -c 1 /path/example_folder
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nyaaup-6.0.0.tar.gz.
File metadata
- Download URL: nyaaup-6.0.0.tar.gz
- Upload date:
- Size: 120.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f621f895bf94a1d886f15eda19ab679d693fd56dab747078c5a9eb9d3b980d6
|
|
| MD5 |
c94449af2eb5c3628b458bea43482df3
|
|
| BLAKE2b-256 |
f3235baa19a81c6576b7d478cef9e45a824df44c1767fc51e7c197d8fe3b83fa
|
Provenance
The following attestation bundles were made for nyaaup-6.0.0.tar.gz:
Publisher:
publish.yml on varyg1001/nyaaup
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nyaaup-6.0.0.tar.gz -
Subject digest:
6f621f895bf94a1d886f15eda19ab679d693fd56dab747078c5a9eb9d3b980d6 - Sigstore transparency entry: 235126599
- Sigstore integration time:
-
Permalink:
varyg1001/nyaaup@d566ff4c93909b1b78b93e0ca12e02a55de9e4fc -
Branch / Tag:
refs/heads/main - Owner: https://github.com/varyg1001
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d566ff4c93909b1b78b93e0ca12e02a55de9e4fc -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file nyaaup-6.0.0-py3-none-any.whl.
File metadata
- Download URL: nyaaup-6.0.0-py3-none-any.whl
- Upload date:
- Size: 49.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7f7a646f6af79d69406e4710af653020f4705025eaa21c73a421e6ee37990fa
|
|
| MD5 |
9235e961dd095747bcf77e4c7cdb3939
|
|
| BLAKE2b-256 |
f0816da707dc1636550a1a1d01bf10a821b951625eb34ac4f10d90c568495c70
|
Provenance
The following attestation bundles were made for nyaaup-6.0.0-py3-none-any.whl:
Publisher:
publish.yml on varyg1001/nyaaup
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nyaaup-6.0.0-py3-none-any.whl -
Subject digest:
a7f7a646f6af79d69406e4710af653020f4705025eaa21c73a421e6ee37990fa - Sigstore transparency entry: 235126600
- Sigstore integration time:
-
Permalink:
varyg1001/nyaaup@d566ff4c93909b1b78b93e0ca12e02a55de9e4fc -
Branch / Tag:
refs/heads/main - Owner: https://github.com/varyg1001
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d566ff4c93909b1b78b93e0ca12e02a55de9e4fc -
Trigger Event:
workflow_dispatch
-
Statement type: