YouTubeKit
YouTubeKit copied to clipboard
[BUG] - Some methods are returning "400 – Request contains an invalid argument"
Describe the bug
Hi, thanks for the project. I noticed that some methods are returning "400 – Requests contains an invalid argument". I tried both the framework in my own app and within the Atwy app. The two requests I've seen returning this so far are SearchResponse
and PlaylistInfosResponse
To Reproduce This is reproducible on the home tan of Atwy and within the test code for playlists:
let playlist = YTPlaylist(playlistId: "VLPLw-VjHDlEOgs658kAHR_LAaILBXb-s6Q5")
let response = try await playlist.fetchVideosThrowing(youtubeModel: model)
I tried these both with and without cookies set.
Expected behavior Perhaps the requests need to be updated, I expect them to not 404.
Additional context
Add any other context about the problem here.