Closed valeriangalliat closed 3 years ago
Hi! I am also using the api and encountered the problem of being unable to do search("query", "artist"). If I were to use your code locally, is there any changes I would need to make to get it working such as credentials?
As a quick fix you should be able to npm install valeriangalliat/youtube-music-api#update-search-parser
until this is merged :)
It seems that I am unable to do a search("query", "album"). Is it working on your end?
It seems that I am unable to do a search("query", "album"). Is it working on your end?
i will update search function soon
Seems that YouTube Music updated the format in their endpoints and that broke the search method.
I'm not sure if any of the other methods needs updating as I only use the search.
This code made the search work again for me and all the data looks good, just not fully sure about the
views
prop, right now it looks something like"views": "163M views"
, and I don't know if it used to be an integer before or if was already like this since I don't use this property.Cheers!