From e89046f12ada05d3e13e64d0608cfae62964d3f7 Mon Sep 17 00:00:00 2001 From: BlackLight Date: Wed, 12 Dec 2018 23:03:17 +0100 Subject: [PATCH] Added max_results to YouTube search --- platypush/plugins/google/youtube.py | 1 + 1 file changed, 1 insertion(+) diff --git a/platypush/plugins/google/youtube.py b/platypush/plugins/google/youtube.py index 1f9b4514d9..1755eab126 100644 --- a/platypush/plugins/google/youtube.py +++ b/platypush/plugins/google/youtube.py @@ -64,6 +64,7 @@ class GoogleYoutubePlugin(GooglePlugin, CalendarInterface): service = self._get_service() result = service.search().list(part=parts, q=query, type=types, + maxResults=max_results, **kwargs).execute() events = result.get('items', [])