This commit is contained in:
j 2020-11-08 23:26:16 +01:00
parent 1bba157f7f
commit e7df18f727

View file

@ -105,7 +105,7 @@ def download(item_id, url, referer=None):
elif 'referer' in media: elif 'referer' in media:
cmd += ['--referer', media['referer']] cmd += ['--referer', media['referer']]
if settings.CONFIG['video'].get('reuseUload', False): if settings.CONFIG['video'].get('reuseUpload', False):
max_resolution = max(settings.CONFIG['video']['resolutions']) max_resolution = max(settings.CONFIG['video']['resolutions'])
format = settings.CONFIG['video']['formats'][0] format = settings.CONFIG['video']['formats'][0]
if format == 'mp4': if format == 'mp4':