Skip to main content

No project description provided

Project description

Official repository: https://github.com/coletdjnz/yt-dlp-getpot-wpc

WebPoClient PO Token Provider

An experimental GetPOT PO Token Provider for yt-dlp that uses nodriver and YouTube's WebPoClient in the browser mint PO Tokens.

Supports:

  • WebPO-based clients (web, web_safari, web_music, mweb tv, tv_embedded, web_embedded, web_creator)
  • Minting GVS and Player PO Tokens
  • Minting PO Tokens for both guest and logged-in sessions

Installing

Requires yt-dlp 2025.01.15 or above.

Chrome or Chromium must be installed.

pip/pipx

pipx inject yt-dlp yt-dlp-getpot-wpc

or

python3 -m pip install -U yt-dlp-getpot-wpc

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

[debug] [GetPOT] PO Token Providers: wpc

Usage

This provider will automatically be used when a PO Token is requested by yt-dlp. It will launch a web browser while yt-dlp is running which it will use to mint PO Token(s).

[!WARNING] Do not close the browser that is launched when yt-dlp is running!

Options

Toggle caching

Toggle caching of PO Tokens generated. This uses the yt-dlp cache (--cache-dir) to store PO Tokens. Default is True.

--extractor-args "youtube-wpc:cache=False"

Set cache TTL

Set the cache TTL in seconds. Default is 12 hours.

--extractor-args "youtube-wpc:cache_ttl=3600"

Mint Player Tokens

Toggle minting of Player Tokens. Default is True.

--extractor-args "youtube-wpc:mint_player=False"

Custom Chrome Location

Set the location of the Chrome browser executable to use.

--extractor-args "youtube-wpc:browser_path=/usr/bin/chromium"

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_getpot_wpc-0.1.2.tar.gz (6.4 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_getpot_wpc-0.1.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file yt_dlp_getpot_wpc-0.1.2.tar.gz.

File metadata

  • Download URL: yt_dlp_getpot_wpc-0.1.2.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for yt_dlp_getpot_wpc-0.1.2.tar.gz
Algorithm Hash digest
SHA256 196e152d6b8d6440867a527d9e9207703a99e41cada225848295e08d82c3fe2c
MD5 40bb61f02858665df7989ef70e48b052
BLAKE2b-256 f8a02d6a82a6339bd770399e4187ff4e86be204ba5ef94f3e2200bcd3b9648c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for yt_dlp_getpot_wpc-0.1.2.tar.gz:

Publisher: release.yml on coletdjnz/yt-dlp-getpot-wpc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file yt_dlp_getpot_wpc-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for yt_dlp_getpot_wpc-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 61611948d47792ca0fee5632187f53c67be6f196384fb25b4c9034b9bb221207
MD5 5c54911db1409e1ed9048825681226d8
BLAKE2b-256 a39b70b2df3ab26de8fa3a8e3b9fc5237aee4319ed4d3127f360918dc7bd5193

See more details on using hashes here.

Provenance

The following attestation bundles were made for yt_dlp_getpot_wpc-0.1.2-py3-none-any.whl:

Publisher: release.yml on coletdjnz/yt-dlp-getpot-wpc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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