Skip to main content

Short Python script 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. Should work tho

Requirements

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

Install

> pip install puyadl

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 main.py 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.0.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.0.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: puya-dl-1.0.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.0.0.tar.gz
Algorithm Hash digest
SHA256 efdb36d5e4c189ea30cfb0342483a0235236b3b05ff44d091405436baac2d267
MD5 c216b1fa94301dca6ccb4fdff24c7107
BLAKE2b-256 33240303502bb812e91e0566e57b5f5d26b74d90c4a38b25fdd6959bcb377c70

See more details on using hashes here.

File details

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

File metadata

  • Download URL: puya_dl-1.0.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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b422f4152e2f0bfac737b0ebc9e3b9438a23608b69338fe2f5b8631b62fb05a
MD5 3c41f77abed7b0888298618ba4d295e0
BLAKE2b-256 08b29a0751d9c31e8976165fd8394254c90d67fe559964cbc5ab664091f0ab51

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