1
0
Fork 0

[ie/youtube] Update ejs to 0.8.0 (#16269)

* Also default to `main` for `player_js_variant` extractor-arg

Closes #16256
Authored by: bashonly, Grub4K

Co-authored-by: Simon Sawicki <contact@grub4k.dev>
This commit is contained in:
bashonly 2026-03-17 18:17:34 -05:00 committed by GitHub
commit 04d6974f50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 48 additions and 32 deletions

View file

@ -1876,7 +1876,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
}]
_DEFAULT_PLAYER_JS_VERSION = 'actual'
_DEFAULT_PLAYER_JS_VARIANT = 'tv'
_DEFAULT_PLAYER_JS_VARIANT = 'main'
_PLAYER_JS_VARIANT_MAP = {
'main': 'player_ias.vflset/en_US/base.js',
'tcc': 'player_ias_tcc.vflset/en_US/base.js',