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.1.tar.gz (6.3 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.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yt_dlp_getpot_wpc-0.1.1.tar.gz
  • Upload date:
  • Size: 6.3 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.1.tar.gz
Algorithm Hash digest
SHA256 8d2dba5fe19f5c4b54477b05c02ef19bef46cf19512fd8ec4eb56697ff84bab7
MD5 867475c0f4f9274c53ce8e0cd69225f3
BLAKE2b-256 03658bc9b223660efc18d92ca6b7e960b979c87195786d58fe796950ea1c5570

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for yt_dlp_getpot_wpc-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 25e39e05dc9e72d8529eeff87d51de8ae225922564111abcd03f05c6b2725ecc
MD5 8dc28cad100eb2a303d1e8e5dac6aa68
BLAKE2b-256 f5aabc1b94b10726b0e03e685d52478353b8205cef756ef3b7ced33887cbdf17

See more details on using hashes here.

Provenance

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