]> jfr.im git - yt-dlp.git/commit
[youtube] Improvements to JS player extraction (See desc) (#860)
authorcoletdjnz <redacted>
Mon, 6 Sep 2021 07:26:41 +0000 (07:26 +0000)
committerGitHub <redacted>
Mon, 6 Sep 2021 07:26:41 +0000 (12:56 +0530)
commitb6de707d13ca3b7a573d9695b7fc0616fe394f60
treed7be4f8f57efbbca1b05cdc298990906d2ca3c83
parentbccdbd22d559cc22b23bbd2ff96075ea5d88c944
[youtube] Improvements to JS player extraction (See desc) (#860)

* fallback player url extraction when it fails to be extracted from the webpage
* don't download js player unnecessarily for clients that don't require it
* try to extract js player url from any additional client configs
* ability to skip the js player usage/download using `player_skip=js`
* ability to skip the initial webpage download using `player_skip=webpage`

known issue:
* authentication for multi-channel accounts and multi-account cookies may not work correctly if the webpage or client configs are skipped
*  formats from the web client requiring signature decryption will be skipped if player js extraction is skipped

Authored by: coletdjnz
README.md
yt_dlp/extractor/youtube.py