mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[GH-ISSUE #350] Retrieve user id for editing user playlists. #276
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#276
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 @TychoZaal on GitHub (Feb 13, 2023).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/350
Hi, beginner here.
I am working on a script that converts Spotify playlists to Youtube Music. I have gotten everything working by creating a new playlist and filling that one with all of the songs, but I would rather have it update an existing playlist of the user. The get_user_playlists requires a user id. How can the user id of the currently logged-in user be retrieved? I could not find a method for this, nor find it in the headers.
Any help would be appreciated!
@TychoZaal commented on GitHub (Feb 13, 2023):
Oops, I found it. 'Sapisid' did the trick. Learned something about Google's cookies system from this as well ;)