Closed hvent90 closed 6 years ago
@odeke-em, settingmax_per_page
above 5
is not returning more than 5 results.
Here is the curl command I used:
curl -X POST http://localhost:9778/search --data '{"q":"Spiderman", "max_per_page": 20}'
Thank you very much @hvent90, something is trippy with the YouTube API, it is puzzling me, the old tests are now broken https://github.com/orijtech/youtube/blob/8d41115717442e910d42ffa5b19e289844dde812/example_test.go#L41-L46
I think for now let's try to handle the case in which we have an indeterministic number of results, sorry for this.
This requires adding the
max_per_page
key in the request body.