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

Metadata

Release files for pb-downloader 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pb-downloader 1.0.0
File Size Uploaded
pb_downloader-1.0.0.tar.gz 12.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pb-downloader 1.0.0
File Interpreter ABI Platform
pb_downloader-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 26.1 kB

Release files / pb_downloader-1.0.0.tar.gz

Download URL pb_downloader-1.0.0.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
652c13df1fda954ea2bd412485fa3d9f83578c0d39c35281075b06201aa9d864
BLAKE2b-256 checksum
How to use checksums
e2b34e943f1a3a00e7aaf7d7ff69e23eb66d21bbb312aeb004725fdf6a254485
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Release files / pb_downloader-1.0.0-py3-none-any.whl

Download URL pb_downloader-1.0.0-py3-none-any.whl
Size 13.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d71fbb0f71b325401f36c1bfcecbd9d6df780b6dccbfe305aba401df3cb82ad
BLAKE2b-256 checksum
How to use checksums
2b6d6fc6d864c03bcdc4bd9e9233f4b3f773c42e0e520f9514ac9e6108b00f4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page