You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've verified that I'm running youtube-dl version 2021.04.07
I've searched the bugtracker for similar feature requests including closed ones
Description
Some months back, Youtube switched to webp format thumbnails. Youtube-DL followed suit and started downloading ONLY webp formats. This never sat well with me. I am so used to .JPG. It's compatible with so many image-viewer programs which I'm more comfortable using. Even modern digital cameras still write to JPG. I therefore wrote my own script to download the JPG format thumbnails for all videos which Youtube-DL had downloaded. I have been using it all these months, whilst hoping that Youtube-DL would someday switch back to JPG. But it looks like webp is here to stay.
I am therefore putting in a request that you guys provide users the option to:
pick which thumbnail format to download, for example --write-thumbnail [format code] eg --write-thumbnail 4
Add the .JPG format thumbnail to the list of options, and the HIGHEST RESOLUTION JPG at that, though the lower-resolution JPG can be added too if the code change can accommodate it.
Right now, one can use --list-thumbnails to list all the thumbnail formats which are available, but no option to pick any one single format to download. This being the case, I'm not even sure what the point is of --list-thumbnails. You can see what options are available, but you can't select any one of them. And I doubt that many people would have any use for --write-all-thumbnails. Moreover, with --list-thumbnails, only the webp formats are listed, even though a JPG thumbnails IS available for download.
Example usage of --list-thumbnails, showing that JPG formats which are available for download are omitted from the results:
User @aviv926 asked a question a few months ago about how to download the .JPG format thumbnail. One reply was to use curl as the user agent to obtain the url for the JPG and then download the JPG thumbnail:
But I don't like this because it means generating an extra webpage request just to download the thumbnail. If you're downloading an entire channel with say 3000 videos, and then you DOUBLE the number of requests generated by Youtube-DL, you'll get a "429: Too Many Requests" error for sure, and a subsequent IP ban for a few days. I would rather have Youtube-DL generate one webpage request, then extract all info, including the thumbnail URL, from that.
So to reiterate, I request that a feature be added which gives the user options on which thumbnail to download, and adds the .JPG thumbnail (at least the highest resolution version) as an option.
The text was updated successfully, but these errors were encountered:
Totally agree with you. It would be an amazing option if it came to fruition.
I myself did not even understand the idea of the command --list-thumbnails. is supposed to "excite"? LOL
Anyway I follow the updates from the developer on your post :)
I saw that you added the option to the--list-thumbnails
I really appreciate it!
I wanted to ask is it possible to create a command that downloads all the images as a jpg from a YouTube channel?
I tried running the following command but without success: youtube-dl.exe --write-thumbnail '[ext = jpg]' [URL HERE]
or this youtube-dl.exe --write-thumbnail -4 --skip-download --output "%(title)s.%(ext)s" [URL HERE]
Checklist
Description
Some months back, Youtube switched to webp format thumbnails. Youtube-DL followed suit and started downloading ONLY webp formats. This never sat well with me. I am so used to .JPG. It's compatible with so many image-viewer programs which I'm more comfortable using. Even modern digital cameras still write to JPG. I therefore wrote my own script to download the JPG format thumbnails for all videos which Youtube-DL had downloaded. I have been using it all these months, whilst hoping that Youtube-DL would someday switch back to JPG. But it looks like webp is here to stay.
I am therefore putting in a request that you guys provide users the option to:
Right now, one can use --list-thumbnails to list all the thumbnail formats which are available, but no option to pick any one single format to download. This being the case, I'm not even sure what the point is of --list-thumbnails. You can see what options are available, but you can't select any one of them. And I doubt that many people would have any use for --write-all-thumbnails. Moreover, with --list-thumbnails, only the webp formats are listed, even though a JPG thumbnails IS available for download.
Example usage of --list-thumbnails, showing that JPG formats which are available for download are omitted from the results:
The .JPG format URL is ALWAYS in one of two formats (sometimes both) in the HTML source code of every Youtube video webpage:
This URL is found in the the HTML source code in a meta tag:
User @aviv926 asked a question a few months ago about how to download the .JPG format thumbnail. One reply was to use curl as the user agent to obtain the url for the JPG and then download the JPG thumbnail:
But I don't like this because it means generating an extra webpage request just to download the thumbnail. If you're downloading an entire channel with say 3000 videos, and then you DOUBLE the number of requests generated by Youtube-DL, you'll get a "429: Too Many Requests" error for sure, and a subsequent IP ban for a few days. I would rather have Youtube-DL generate one webpage request, then extract all info, including the thumbnail URL, from that.
So to reiterate, I request that a feature be added which gives the user options on which thumbnail to download, and adds the .JPG thumbnail (at least the highest resolution version) as an option.
The text was updated successfully, but these errors were encountered: