mirror of
https://github.com/imputnet/cobalt.git
synced 2026-03-11 16:43:56 +00:00
youtube: introduce YOUTUBE_PLAYER_ID envvar
This commit is contained in:
@@ -68,6 +68,7 @@ this document is not final and will expand over time. feel free to improve it!
|
||||
| YOUTUBE_SESSION_INNERTUBE_CLIENT | `WEB_EMBEDDED` |
|
||||
| YOUTUBE_ALLOW_BETTER_AUDIO | `1` |
|
||||
| ENABLE_DEPRECATED_YOUTUBE_HLS | `key` |
|
||||
| YOUTUBE_PLAYER_ID | `abcdefff` |
|
||||
|
||||
[*view details*](#service-specific)
|
||||
|
||||
@@ -271,6 +272,13 @@ innertube client that's compatible with botguard's (web) `poToken` and `visitor_
|
||||
|
||||
the value is a string.
|
||||
|
||||
### YOUTUBE_PLAYER_ID
|
||||
a comma-separated-list of player IDs to use for youtube fetching.
|
||||
if defined, cobalt chooses one of them at each client initialization, otherwise
|
||||
defaults to the current latest player ID.
|
||||
|
||||
the value is a string.
|
||||
|
||||
### YOUTUBE_ALLOW_BETTER_AUDIO
|
||||
when set to `1`, cobalt will try to use higher quality audio if user requests it via `youtubeBetterAudio`. will negatively impact the rate limit of a secondary youtube client with a session.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user