mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 07:16:00 +03:00
[PR #396] [MERGED] Add external OAuth case to browser check #607
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#607
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?
📋 Pull Request Information
Original PR: https://github.com/sigma67/ytmusicapi/pull/396
Author: @MarvinSchenkel
Created: 5/28/2023
Status: ✅ Merged
Merged: 6/15/2023
Merged by: @sigma67
Base:
master← Head:master📝 Commits (3)
7298bc5Add external OAuth case to browser check.f1e50dcRemove check to outer scope..f5772a0Remove check to outer scope..📊 Changes
2 files changed (+9 additions, -1 deletions)
View changed files
📝
ytmusicapi/auth/headers.py(+4 -1)📝
ytmusicapi/auth/oauth.py(+5 -0)📄 Description
Hi 👋 ,
I use this project as a dependency for a project where I retrieve an OAuth token myself and set it on the headers to authenticate. Since version 1.0.1 this started failing, because this method is not recognized as either browser_auth or oauth.
This PR extends the browser check to make sure that the
Authorizationvalue is an OAuth token in case noCookieis supplied.Regards,
Marvin
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.