From 7ec90b9898b88d7160c6159e6f20da8bc7164138 Mon Sep 17 00:00:00 2001 From: Yen Chi Hsuan Date: Thu, 9 Jun 2016 22:47:10 +0800 Subject: [PATCH] [__init__] Don't download thumbnails if --skip-download is used --- 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 4905674ad..4a0c9c179 100644 --- a/youtube_dl/__init__.py +++ b/youtube_dl/__init__.py @@ -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.