Problem getting a playlist #702
Unanswered
nelsoncasey13
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, for some reason I get an error with this playlist.
RDTMAK5uy_lr0LWzGrq6FU9GIxWvFHTRPQD2LHMqlFA
With other ids it works ok, any ideas?
`Traceback (most recent call last):
File "C:\Users\Nelson Casey\AppData\Local\Programs\Python\Python311\Lib\site-packages\ytmusicapi\navigation.py", line 117, in nav
root = root[k]
KeyError: 'contents'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Nelson Casey\Desktop\Test.py", line 11, in
playlist = ytmusic.get_playlist(playlist_id)
File "C:\Users\Nelson Casey\AppData\Local\Programs\Python\Python311\Lib\site-packages\ytmusicapi\mixins\playlists.py", line 112, in get_playlist
header_data = nav(response, [*TWO_COLUMN_RENDERER, *TAB_CONTENT, *SECTION_LIST_ITEM])
File "C:\Users\Nelson Casey\AppData\Local\Programs\Python\Python311\Lib\site-packages\ytmusicapi\navigation.py", line 121, in nav
raise type(e)(f"Unable to find '{k}' using path {items!r} on {root!r}, exception: {e}")
KeyError: "Unable to find 'contents' using path ['contents', 'twoColumnBrowseResultsRenderer', 'tabs', 0, 'tabRenderer', 'content', 'sectionListRenderer', 'contents', 0] on {'trackingParams': 'CAIQui8iEwifhffPqcSKAxUNULgEHfzSN2I='}, exception: 'contents'"`
Beta Was this translation helpful? Give feedback.
All reactions