You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed that the function parsers.search._get_param_2 does not handle "community_playlists" or "featured_playlists".
However, parsers.search.get_search_params calls this function with these parameters when scope is set to "library" and therefore we get a KeyError.
Happy to raise a PR if you are able to advise if this should be handled with a documented exception or alternative params sent to innertube.
Cheers Nick
To Reproduce
call YTMusic.search('xxx', 'community_playlists', 'library').
result "KeyError: 'community_playlists'"
The text was updated successfully, but these errors were encountered:
G'day,
Noticed that the function parsers.search._get_param_2 does not handle "community_playlists" or "featured_playlists".
However, parsers.search.get_search_params calls this function with these parameters when scope is set to "library" and therefore we get a KeyError.
Happy to raise a PR if you are able to advise if this should be handled with a documented exception or alternative params sent to innertube.
Cheers Nick
To Reproduce
call YTMusic.search('xxx', 'community_playlists', 'library').
result "KeyError: 'community_playlists'"
The text was updated successfully, but these errors were encountered: