Update youtube.py

This commit is contained in:
tcely 2025-03-30 04:52:42 -04:00 committed by GitHub
parent 3f283e5e2e
commit 9b27d94d06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -157,7 +157,7 @@ def get_media_info(url, days=None):
paths.update({ paths.update({
'temp': str(temp_dir_path), 'temp': str(temp_dir_path),
}) })
postprocessors = opts.get('postprocessors', default_opts.get('postprocessors', list())) postprocessors = opts.get('postprocessors', default_opts.__dict__.get('postprocessors', list()))
postprocessors.extend((dict( postprocessors.extend((dict(
key='Exec', key='Exec',
when='playlist', when='playlist',