]> jfr.im git - yt-dlp.git/commit
[youtube] Fix authentication when using multiple accounts
authorcoletdjnz <redacted>
Sat, 17 Jul 2021 06:20:05 +0000 (18:20 +1200)
committerGitHub <redacted>
Sat, 17 Jul 2021 06:20:05 +0000 (11:50 +0530)
commit34917076ad9844eddfa4ea97656d81a7fefe5d59
tree36ca7741e9538ae228a9a35120da57aa0e869bb7
parentccc7795ca3523be07c69afb95f08b2f583197327
[youtube] Fix authentication when using multiple accounts

`SESSION_INDEX` in `ytcfg` is the index of the active account and should be sent as `X-Goog-AuthUser` header

Closes #518
Authored by @colethedj
yt_dlp/extractor/youtube.py