Skip to main content

p1_pkg

Fast, parallel video downloader — no browser, no ffmpeg, no nonsense.

Install

pip install p1_pkg

Usage

# Interactive (search + fuzzy pick + quality select)
p1

# Search directly
p1 -s "search term"

# Paste a URL
p1 -u "https://pimpbunny.com/videos/some-video/"

# Force quality
p1 -s "search term" -q 720p

# Control parallel threads (default 8)
p1 -s "search term" -t 16

# Save defaults
p1 --set-quality 1080p
p1 --set-threads 12
p1 --set-download-dir ~/Videos

# Show config
p1 --config

How it works

  • Establishes a session to collect short-lived signed tokens
  • Parses the video page for all available quality URLs (360p / 480p / 720p / 1080p)
  • Resolves the signed URL through a CDN redirect
  • Splits the MP4 into N equal byte-range chunks and downloads them in parallel threads
  • Merges automatically — the output file is pre-allocated and each thread writes to its own offset
  • Resume-safe: completed downloads are tracked in ~/.p1_pkg_done/

Options

Flag Description
-s QUERY Search query
-u URL Direct video page URL
-q QUALITY best / 1080p / 720p / 480p / 360p
-t N Parallel threads (default 8)
-d DIR Download directory
--config Show saved settings
--set-quality Q Save default quality
--set-threads N Save default thread count
--set-download-dir PATH Save default directory
--reset-config Reset to defaults

Download files

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

Source Distribution

pb_downloader-1.0.0.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

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

pb_downloader-1.0.0-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file pb_downloader-1.0.0.tar.gz.

File metadata

  • Download URL: pb_downloader-1.0.0.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.11

File hashes

Hashes for pb_downloader-1.0.0.tar.gz
Algorithm Hash digest
SHA256 652c13df1fda954ea2bd412485fa3d9f83578c0d39c35281075b06201aa9d864
MD5 0db1ac423898c8552aebf29999e7af78
BLAKE2b-256 e2b34e943f1a3a00e7aaf7d7ff69e23eb66d21bbb312aeb004725fdf6a254485

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pb_downloader-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.11

File hashes

Hashes for pb_downloader-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d71fbb0f71b325401f36c1bfcecbd9d6df780b6dccbfe305aba401df3cb82ad
MD5 9a504416d3d7042454c0b9ef40f70014
BLAKE2b-256 2b6d6fc6d864c03bcdc4bd9e9233f4b3f773c42e0e520f9514ac9e6108b00f4c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

Supported by

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