youtube: increase the amount of videos shown by default - frontends - front-ends for some sites (experiment)
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit d5b4a57838bb4f2657d28ac31df682f90236e450
DIR parent 66fe5f3bfe27884e3202800f4a583c27916ea57e
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 15 May 2021 18:54:28 +0200
youtube: increase the amount of videos shown by default
There are more results returned (used to be about 25). Just show them up to
100.
Diffstat:
M youtube/youtube.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/youtube/youtube.h b/youtube/youtube.h
@@ -11,7 +11,7 @@ struct item {
char channelvideos[32]; /* for channel */
};
-#define MAX_VIDEOS 30
+#define MAX_VIDEOS 100
struct search_response {
struct item items[MAX_VIDEOS + 1];
size_t nitems;