mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 23:36:00 +03:00
[GH-ISSUE #211] *unauthenticated* access to public playlists? #165
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#165
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 @natumbri on GitHub (Jul 2, 2021).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/211
Hi,
Is it possible to use ytmusicapi to get access to public playlists without authentication?
For example, this channel
https://music.youtube.com/channel/UCZtGOj7FTHPd2txgnbJS2kQhas 3 public playlists:PLJD13y84Bd029ENixIHEpDqeWcjiogsFiPLJD13y84Bd01Q8b8ONfwNMLD3pVBcqwMqPLJD13y84Bd032qVrq7CHBLEfKZZtp-u1jIs it possible to retrieve a list of those public playlists (perhaps by using
YTMusic.get_user_playlists), without being authenticated?@sigma67 commented on GitHub (Jul 2, 2021):
Yes, of course. Anything you can open in your web browser without logging in works in ytmusicapi as well. You have the right approach with
YTMusic.get_user_playlistsfor this channel, then just useget_playliston each of the IDs.@natumbri commented on GitHub (Jul 2, 2021):
Thanks - I keep getting an error telling me I need to authenticate. I'll keep trying.
@sigma67 commented on GitHub (Jul 2, 2021):
That seems strange, can you comment the relevant parts of your code here and the error message? I just tried with your channel id and it works fine.
Might be related to an outdated ytmusicapi version or bad headers you're providing.
@sigma67 commented on GitHub (Jul 2, 2021):
Also small correction to my prior comment, you first need to call
YTMusic.get_user.YTMusic.get_user_playlistsonly applies afterwards when a user has many playlists and you need all of them