sgbaird commited on
Commit
5ace9c8
·
verified ·
1 Parent(s): 607802f

max results to 1000 if playlist_id is None (can be bumped up to more later)

Browse files
Files changed (1) hide show
  1. yt_utils.py +1 -1
yt_utils.py CHANGED
@@ -17,7 +17,7 @@ def get_latest_video_id(channel_id, device_name=None, playlist_id=None):
17
  params = {
18
  'part': 'snippet',
19
  'channelId': CHANNEL_ID,
20
- 'maxResults': 50,
21
  'key': YT_API_KEY
22
  }
23
  res = requests.get(url, params=params)
 
17
  params = {
18
  'part': 'snippet',
19
  'channelId': CHANNEL_ID,
20
+ 'maxResults': 1000,
21
  'key': YT_API_KEY
22
  }
23
  res = requests.get(url, params=params)