change names

Authored by: bashonly
pull/12767/head
bashonly 3 weeks ago
parent 6ce4690f13
commit 97f0c9989c
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

@ -1782,7 +1782,7 @@ The following extractors use this feature:
* `data_sync_id`: Overrides the account Data Sync ID used in Innertube API requests. This may be needed if you are using an account with `youtube:player_skip=webpage,configs` or `youtubetab:skip=webpage`
* `visitor_data`: Overrides the Visitor Data used in Innertube API requests. This should be used with `player_skip=webpage,configs` and without cookies. Note: this may have adverse effects if used improperly. If a session from a browser is wanted, you should pass cookies instead (which contain the Visitor ID)
* `po_token`: Proof of Origin (PO) Token(s) to use. Comma seperated list of PO Tokens in the format `CLIENT.CONTEXT+PO_TOKEN`, e.g. `youtube:po_token=web.gvs+XXX,web.player=XXX,web_safari.gvs+YYY`. Context can be either `gvs` (Google Video Server URLs) or `player` (Innertube player request)
* `force_js_variant`: The player javascript variant to use for signature and nsig deciphering. The available variants are `base`, `tce`, `tv`, `es6`, `phone`, `tablet`. Only `base` is recommended as a possible workaround; the others are mainly for debugging purposes. The default is to use what is prescribed by the site, and can be selected with `false`
* `force_js_variant`: The player javascript variant to use for signature and nsig deciphering. The available variants are `main`, `tce`, `tv`, `tv_es6`, `phone`, `tablet`. Only `main` is recommended as a possible workaround; the others are mainly for debugging purposes. The default is to use what is prescribed by the site, and can be selected with `false`
#### youtubetab (YouTube playlists, channels, feeds, etc.)
* `skip`: One or more of `webpage` (skip initial webpage download), `authcheck` (allow the download of playlists requiring authentication when no initial webpage is downloaded. This may cause unwanted behavior, see [#1122](https://github.com/yt-dlp/yt-dlp/pull/1122) for more details)

@ -1761,10 +1761,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
]
_PLAYER_JS_VARIANT_MAP = {
'base': '/s/player/{}/player_ias.vflset/en_US/base.js',
'main': '/s/player/{}/player_ias.vflset/en_US/base.js',
'tce': '/s/player/{}/player_ias_tce.vflset/en_US/base.js',
'tv': '/s/player/{}/tv-player-ias.vflset/tv-player-ias.js',
'es6': '/s/player/{}/tv-player-es6.vflset/tv-player-es6.js',
'tv_es6': '/s/player/{}/tv-player-es6.vflset/tv-player-es6.js',
'phone': '/s/player/{}/player-plasma-ias-phone-en_US.vflset/base.js',
'tablet': '/s/player/{}/player-plasma-ias-tablet-en_US.vflset/base.js',
}

Loading…
Cancel
Save