Skip to main content

yt-dlp plugin for fetching PO tokens using rustypipe-botguard

Project description

RustyPipe YT-DLP-Botguard

Current PyPI version License

yt-dlp-get-pot-rustypipe is a yt-dlp GetPOT token provider that uses rustypipe-botguard to generate PO tokens.

It supports all web-based YouTube clients (web, web_safari, web_music, mweb tv, tv_embedded, web_embedded, web_creator).

Installation

  1. Download and extract the rustypipe-botguard binary from https://codeberg.org/ThetaDev/rustypipe-botguard/releases and place it either in the PATH or the current working directory.
  2. Install the yt-dlp-get-pot-rustypipe plugin

pipx

pipx inject yt-dlp yt-dlp-get-pot-rustypipe

pip

pip install yt-dlp-get-pot-rustypipe

If installed correctly, you should see the rustypipe-botguard PO Token provider in the yt-dlp -v YOUTUBE_URL output.

[debug] [GetPOT] PO Token Providers: rustypipe-botguard-0.1.0

Options

The plugin can be configured using extractor arguments, for example --extractor-args 'youtube:rustypipe_bg_pot_cache=1;rustypipe_bg_bin=/path/to/rustypipe-botguard'.

  • rustypipe_bg_bin: Custom path to rustypipe-botguard binary.
  • rustypipe_bg_snapshot_file Custom path to load/store a snapshot of the Botguard runtime.
  • rustypipe_bg_no_snapshot Do not load/store a snapshot of the Botguard runtime (default: false).
  • rustypipe_bg_pot_cache Reuse generated session PO tokens (default: true).
  • rustypipe_bg_user_agent Set a custom user agent for fetching Botguard challenges.

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

yt_dlp_get_pot_rustypipe-0.2.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

yt_dlp_get_pot_rustypipe-0.2.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file yt_dlp_get_pot_rustypipe-0.2.0.tar.gz.

File metadata

File hashes

Hashes for yt_dlp_get_pot_rustypipe-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ae0d9e33564c79b792a1a48648f9b8d45f655e3cfa6af5e3500325733564d6c4
MD5 192bb05b8a4429b5be0d6175c5377f0e
BLAKE2b-256 be810fd2368ecd062f2274dba9e8ab0296607adbe7f99876161a6bb9836debe0

See more details on using hashes here.

File details

Details for the file yt_dlp_get_pot_rustypipe-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for yt_dlp_get_pot_rustypipe-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 601b3b940e49bc45ba48fcdb2327850a75ba23c7e91709b5abbff5d4b914fa0b
MD5 e7c21503e3bc79dfc07fcfbbae0880f4
BLAKE2b-256 ca853e379cb2f2e214764c1e15485d1e2ec6d6f839b29289a1202fc26c93e07d

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