From a291936bb7e6de73183dba80ac1bcb25c5740078 Mon Sep 17 00:00:00 2001 From: kikuyan Date: Fri, 13 Aug 2021 12:27:02 +0900 Subject: [PATCH] stop adding --write-thumbnail to --embed-thumbnail if --skip-download --- youtube_dl/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index e1bd67919..509c608e3 100644 --- a/youtube_dl/__init__.py +++ b/youtube_dl/__init__.py @@ -291,7 +291,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 # XAttrMetadataPP should be run after post-processors that may change file # contents