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,mwebtv,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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
196e152d6b8d6440867a527d9e9207703a99e41cada225848295e08d82c3fe2c
|
|
| MD5 |
40bb61f02858665df7989ef70e48b052
|
|
| BLAKE2b-256 |
f8a02d6a82a6339bd770399e4187ff4e86be204ba5ef94f3e2200bcd3b9648c3
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yt_dlp_getpot_wpc-0.1.2.tar.gz -
Subject digest:
196e152d6b8d6440867a527d9e9207703a99e41cada225848295e08d82c3fe2c - Sigstore transparency entry: 165572372
- Sigstore integration time:
-
Permalink:
coletdjnz/yt-dlp-getpot-wpc@0d3e5476827f5cdcb634b455a4bcb51663d9c8da -
Branch / Tag:
refs/heads/main - Owner: https://github.com/coletdjnz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0d3e5476827f5cdcb634b455a4bcb51663d9c8da -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file yt_dlp_getpot_wpc-0.1.2-py3-none-any.whl.
File metadata
- Download URL: yt_dlp_getpot_wpc-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61611948d47792ca0fee5632187f53c67be6f196384fb25b4c9034b9bb221207
|
|
| MD5 |
5c54911db1409e1ed9048825681226d8
|
|
| BLAKE2b-256 |
a39b70b2df3ab26de8fa3a8e3b9fc5237aee4319ed4d3127f360918dc7bd5193
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
yt_dlp_getpot_wpc-0.1.2-py3-none-any.whl -
Subject digest:
61611948d47792ca0fee5632187f53c67be6f196384fb25b4c9034b9bb221207 - Sigstore transparency entry: 165572375
- Sigstore integration time:
-
Permalink:
coletdjnz/yt-dlp-getpot-wpc@0d3e5476827f5cdcb634b455a4bcb51663d9c8da -
Branch / Tag:
refs/heads/main - Owner: https://github.com/coletdjnz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0d3e5476827f5cdcb634b455a4bcb51663d9c8da -
Trigger Event:
workflow_dispatch
-
Statement type: