sigma67 / spotify_to_ytmusic

Clone a Spotify playlist to YouTube Music
MIT License
949 stars 72 forks source link

feat: Add ytmusicapi browser auth setup option #117

Closed rpop0 closed 2 days ago

rpop0 commented 1 week ago

Hello, I tried using this tool to convert a Spotify playlist and ran into the same issue outlined in #116 . Looked into it a bit on and found this issue on ytmusicapi https://github.com/sigma67/ytmusicapi/issues/676 which points it to being a Youtube Update breaking the oauth functionality for certain users, but it was mentioned there that browser auth still works.

This PR simply just adds another option to the setup, which allows users with this problem such as myself to directly use the Browser auth instead of oAuth.

rpop0 commented 1 week ago

Added something new here. I noticed that after searching for 4k songs on youtube, the browser authorization expired.

Now if you use browser auth for youtube, it re-asks you for the browser auth.

CyberFoxar commented 4 days ago

Can confirm that this PR works for fixing my error 400 and works as a workaround #116 . Many thanks for putting it up !