I'm trying to download just the thumbnail of a video and it does download the thumbnail but the video also downloads afterwards. I'm using this code:
thumbnail = folder + video["title"]
tn_options={
'format':'bestvideo',
'keepvideo':False,
'writethumbnail':'writethumbnail',
'outtmpl':thumbnail,}
with youtube_dl.YoutubeDL(tn_options) as ydl:
ydl.download([video['webpage_url']])
I assumed that setting keepvideo to False would prevent downloading the video as I've used it in the past but it's not working in this case.