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.

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"

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.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.

yt_dlp_getpot_wpc-0.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yt_dlp_getpot_wpc-0.1.tar.gz
  • Upload date:
  • Size: 6.1 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.tar.gz
Algorithm Hash digest
SHA256 16f67497ee57ea916b9ad78e05a71e0308b8b93169c6d846a43f23014d34bc1e
MD5 6a3b9bcf436aa7a3a9a741afc992a506
BLAKE2b-256 c52d94846349afe50b469924c3a87521a3f1ffdc2f8151a40cc4a9a04d6435e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for yt_dlp_getpot_wpc-0.1.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-py3-none-any.whl.

File metadata

File hashes

Hashes for yt_dlp_getpot_wpc-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e2653d9004673a13d57c181fc3d9fe46943d2c379ed9feca1226fdd0fee0fd1a
MD5 9fb14671acea018f6664a88490ce9d02
BLAKE2b-256 4f339bee12237b2a76393721237a376c0d458169bc747ab6c13a9832b83295a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for yt_dlp_getpot_wpc-0.1-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