Bump fetched videos to 10

This commit is contained in:
Laszlo Zeke 2018-04-03 12:30:54 +02:00
parent 842da0100a
commit 226c4012f8
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ import gzip
VODCACHE_PREFIX = 'vodcache'
USERIDCACHE_PREFIX = 'userid'
VOD_URL_TEMPLATE = 'https://api.twitch.tv/kraken/channels/%s/videos?broadcast_type=archive,highlight,upload&limit=5'
VOD_URL_TEMPLATE = 'https://api.twitch.tv/kraken/channels/%s/videos?broadcast_type=archive,highlight,upload&limit=10'
USERID_URL_TEMPLATE = 'https://api.twitch.tv/kraken/users?login=%s'
VODCACHE_LIFETIME = 600
USERIDCACHE_LIFETIME = 0 # No expire