Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'thumbnails' when using get_playlist #625

Closed
abhishekmj303 opened this issue Jul 15, 2024 · 2 comments · Fixed by #626
Closed

KeyError: 'thumbnails' when using get_playlist #625

abhishekmj303 opened this issue Jul 15, 2024 · 2 comments · Fixed by #626
Labels
bug Something isn't working

Comments

@abhishekmj303
Copy link
Contributor

Describe the bug
thumbnails for the playlist is not retrieved when using get_playlist.

To Reproduce
Steps to reproduce the behavior:

  1. Create a YTMusic() object
  2. Call playlist = get_playlist(playlist_id, limit=None)
  3. Access playlist['thumbnails']
  4. KeyError: 'thumbnails'
@sigma67
Copy link
Owner

sigma67 commented Jul 15, 2024

Please provide the playlist id

@sigma67 sigma67 added the invalid This doesn't seem right label Jul 15, 2024
@abhishekmj303
Copy link
Contributor Author

abhishekmj303 commented Jul 15, 2024

Actually I got this error for almost all the playlists. This is a sample playlist_id:

RDCLAK5uy_n17q7_2dwfDqWckpccDyTTkZ-g03jXuII

This is the response: https://pastebin.com/n1CtXTX7

@sigma67 sigma67 added bug Something isn't working and removed invalid This doesn't seem right labels Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants