mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-14 13:37:45 +08:00
[__init__] Don't download thumbnails if --skip-download is used
This commit is contained in:
parent
7c640d273c
commit
7ec90b9898
@ -252,7 +252,7 @@ def _real_main(argv=None):
|
||||
'key': 'EmbedThumbnail',
|
||||
'already_have_thumbnail': already_have_thumbnail
|
||||
})
|
||||
if not already_have_thumbnail:
|
||||
if not already_have_thumbnail and not opts.skip_download:
|
||||
opts.writethumbnail = True
|
||||
# Please keep ExecAfterDownload towards the bottom as it allows the user to modify the final file in any way.
|
||||
# So if the user is able to remove the file before your postprocessor runs it might cause a few problems.
|
||||
|
Loading…
x
Reference in New Issue
Block a user