Skip to main content

Short Python script and GUI for batch downloading PuyaSubs releases

Project description

puya-dl

Simple app written in Python 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
  • Qt 6
  • 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 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.1.tar.gz (6.1 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.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: puya-dl-1.1.1.tar.gz
  • Upload date:
  • Size: 6.1 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.1.tar.gz
Algorithm Hash digest
SHA256 231d3466bb62a8719a335ed6d874f0bd1c611455df3058f744fb0ffb0452961a
MD5 83ca2d224d439987ab877d3e0554c877
BLAKE2b-256 9b27c6b15729e597c4d92b19b703f57765847123e38625d634809f2d10f64f36

See more details on using hashes here.

File details

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

File metadata

  • Download URL: puya_dl-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2f05aa42505dbd24a4a57c8b5c8d5fb15ace554acc33345ab5ae655dd450c026
MD5 463646b9f0734125a02d06860e1186f8
BLAKE2b-256 d2ac3f3e5de674b39dc3091e57cd657a0cb15edd7fdfcf59fc321ed05a58d9b3

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