formating
This commit is contained in:
parent
c927f32aa6
commit
ce14167cee
|
@ -102,11 +102,7 @@ def download_media(url, media_format, extension, output_file, info_json,
|
||||||
else:
|
else:
|
||||||
log.warn(f'[youtube-dl] unknown event: {str(event)}')
|
log.warn(f'[youtube-dl] unknown event: {str(event)}')
|
||||||
hook.download_progress = 0
|
hook.download_progress = 0
|
||||||
# Pending configuration options from PR #338
|
|
||||||
#postprocessors.append({
|
|
||||||
# 'key': 'SponsorBlock',
|
|
||||||
# 'categories': [sponsor_categories]
|
|
||||||
#})
|
|
||||||
opts = get_yt_opts()
|
opts = get_yt_opts()
|
||||||
opts.update({
|
opts.update({
|
||||||
'format': media_format,
|
'format': media_format,
|
||||||
|
|
Loading…
Reference in New Issue