Skip to main content

Short Python script and GUI for batch downloading PuyaSubs releases

Project description

puya-dl

Short Python script (with GUI) for batch downloading PuyaSubs releases

Doesn't work with shows longer than 75 episodes because I'm too lazy to implement it properly.

Requirements

  • Python 3... a new version I guess
  • xdg-open (doesn't work on Windows for now)
  • a BitTorrent client

Install

> pip install puya-dl

or just clone this repository and do python setup.py install

Usage

GUI

The GUI uses Qt 6, so you have to have it installed in your system.

The command without any arguments fires up the GUI. If you want to see CLI help, use -h.

python -m puyadl

CLI

python -m puyadl "search query"

usage: puyadl [-h] [-q QUALITY] [-e EPISODES] [--dryrun] [--quiet] [--all] title [title ...]

puya.moe batch download tool

positional arguments:
  title                 Exact title

optional arguments:
  -h, --help            show this help message and exit
  -q QUALITY, --quality QUALITY
                        Quality (usually only 720p and 1080p is available)
  -e EPISODES, --episodes EPISODES
                        Specify episodes to download
  --dryrun              Dry run (only for development)
  --quiet, --noconfirm  Don't ask for confirmation
  --all                 Search for all releases (not only puya) (experimental)

Default quality is 1080p. If you want to specify a different one, use -q, for example -q 720p.

Episode filters

By default, puya-dl selects and downloads all episodes. When -e argument is passed, only selected episodes are downloaded. Just enter episode number to select an episode. You can also use ranges like 1-3. Seperate filters with a single comma (,).

For example, python -m puyadl title -e 1-2,5-6,10 will select episodes 1, 2, 5, 6 and 10.

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

puya-dl-1.1.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

puya_dl-1.1.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file puya-dl-1.1.0.tar.gz.

File metadata

  • Download URL: puya-dl-1.1.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for puya-dl-1.1.0.tar.gz
Algorithm Hash digest
SHA256 59a5a0e36fe7326fbf60bf90a7a6ff233b0645baf0c8c94c897b30f31d8303ad
MD5 7e6ce132ef2d9812818efea64e5744aa
BLAKE2b-256 d4068ca5e88de9207c01ab7a33ebd4533ed2909a6ea26120e5e1f2b0fbcc3294

See more details on using hashes here.

File details

Details for the file puya_dl-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: puya_dl-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for puya_dl-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1a325b2205e25dff036ad772fc0242a7d6dd1719a83be627886a33a89572354
MD5 50d29450774db235131a4a63488f5520
BLAKE2b-256 4886bcdfa632fa1ae6e61ab8260420fd27cda105a7c47b3fb0236f423c6a66ce

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