mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 07:16:00 +03:00
[GH-ISSUE #270] Authentication Errors: Headers not present in /browse #208
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#208
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Zaedus on GitHub (May 7, 2022).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/270
I'm not sure if this is a new change to the Youtube Music api, but I can't seem to reauthenticate myself. When I copy the headers from the
/browserequest, I end up with thisI'm not sure if I'm just doing something wrong, or if this is a change to how Youtube handles authentication.
@cyperdark commented on GitHub (May 8, 2022):
copy cookie value and paste it
@sigma67 commented on GitHub (May 9, 2022):
Normally your request headers should include a value "x-goog-authuser" to indicate which of your Google brand accounts you're signed in to. For some reason yours doesn't, but you can just manually create a new entry in your copied headers with the value "0" and it should work.
Do you have any other brand accounts on your Google account? You can tell by clicking your user icon, then Switch Accounts.
@Zaedus commented on GitHub (Jun 13, 2022):
So sorry for the late response. Do I need a google account for this or can I access it as a guest?
@Zaedus commented on GitHub (Jun 13, 2022):
Oh. My. God. I am so sorry! I thought it was necessary to get the headers for both unauthenticated and authenticated requests! That is 100% my bad. Enjoy the rest of your day and thank you for sticking with me here :)