Closed RLalor closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
zen-audio-player-github-io | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 10, 2024 4:37pm |
This pull request addresses issue #433 by modifying the getSearchResults function in js/zap-common.js to increase the number of fetched results to 10. This change involves adding a single line of code to set the maxResults parameter to 10.
Thanks. This is a nice project to work on. The other changes you mention look quite easy as well. If I get bored I will play with and test those as well and discuss which option is most suited.
I tested it and it can fetch 50 results per page. If you try 51 it doesn't produce an error but just ignores it and gets 50. I think you can do 50 per page up to 1000 results / 20 pages. But I also read 500.
Perhaps adding 2 more columns to prevent the page becoming so long is worth considering as well.
Description
added 1 line of code to increase results to 10 as requested in #433 until one of the other options is implemented.
Checklist
Summary by Sourcery
Increased the maximum number of fetch results to 10 in the YouTube search query.