Closed Julienhug closed 4 years ago
I have same issue. the methods 'search' and 'search_suggestion' works fine but 'search_albums', 'search_songs' and 'search_artists' always return this error how I can solve it? thanks
using a method called '_search_filter' can do it.
to search artists:
api._search_filter(filter='artists', query='artist name', continuation=None)
Hi, sorry for the late reply to this issue.
I traced the error back to an issue in one of the low-level decorators used to enforce parameter values. The issue should now be fixed as of this commit: #90082e2
If one of you can please test that this resolves this issue, I will mark this as closed.
Here's the code I tested it with, based on the traceback provided:
import ytm
from pprint import pprint
api = ytm.YouTubeMusic()
songs = api.search_songs('cry')
pprint(songs)
Thanks for reporting this issue!
works fine now thanks!
Hi, I tried to use your great work. But I have some trouble with search songs function.
Thank you so much for your help.