Closed topi314 closed 1 year ago
I have tested this change with my bot. It fixes an issue where a spotify track was not resolved to the correct youtube video.
Can you provide that query which show incorrect video?
I mean search query for youtube, not link to spotify
Ah you mean: "GBBBN0009712"
@topi314 For me current parameter EgIQAQ==
give only one video what is same as spotify song
https://www.youtube.com/results?search_query=GBBBN0009712&sp=EgIQAQ==
You are missing the "". It should be https://www.youtube.com/results?search_query="GBBBN0009712"&sp=EgIQAQ==
Same result
This is what I'm seeing in youtube and also what my bot was playing before this change.
I also get the above result from @LuiZiffer
Interesting that youtube give different results for different languages
anything else we need to get this merged?
the old search param
EgIQAQ==
was used to filter for videos only. the updated also shows exact results onlyEgIQAUICCAE%253D
you can obtain these by combining various filters & copying the
sp
query params