You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switching between accounts does not change the ytcfg.data_.SESSION_INDEX value, it is always 0. A search on GitHub only found code using the SESSION_INDEX value or hard coding 0 or 1.
Version
Default
Anything else?
This code successfully gets the contents of the Watch Later playlist of the active account:
Steps to reproduce
In most cases, it is required to remove these lines:
YouTube.js/src/utils/HTTPClient.ts
Lines 75 to 76 in 4b60b97
To prevent this response from
/playlist
requests:Failure Logs
Expected behavior
The playlist contents will be retrieved from the secondary account.
Current behavior
The
X-Goog-AuthUser
header doesn't appear to indicate the active account as described in #229 and yt-dlp/yt-dlp@3491707.Looking at the source of desktop_polymer.js, the
X-Goog-AuthUser
header comes from theSESSION_INDEX
value:Switching between accounts does not change the
ytcfg.data_.SESSION_INDEX
value, it is always0
. A search on GitHub only found code using theSESSION_INDEX
value or hard coding0
or1
.Version
Default
Anything else?
This code successfully gets the contents of the Watch Later playlist of the active account:
Checklist
The text was updated successfully, but these errors were encountered: