Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Checklist
Verbose log
Description
The Problem:
In the playlist https://www.youtube.com/playlist?list=PL94C7EDE446C02090 i encountered 6 playable videos where youtube-dl failed to download a thumbnail.
Their IDs are:
As seen in the error log, youtube-dl tries to download the maxresdefault.jpg for these IDs but fails since the correct file in these cases would actually be hqdefault.jpg. (Also found in the HTML page source code, contrary to maxresdefault.jpg)
https://i.ytimg.com/vi/MTJHdKsmuxU/hqdefault.jpg
https://i.ytimg.com/vi/0uEpX2elNMQ/hqdefault.jpg
https://i.ytimg.com/vi/lAWCxqk7ZzY/hqdefault.jpg
https://i.ytimg.com/vi/5UIYSgtj59w/hqdefault.jpg
https://i.ytimg.com/vi/sgx8OL5jrEM/hqdefault.jpg
https://i.ytimg.com/vi/8kDAt7h5lO8/hqdefault.jpg
Possible solution
Either fix a bug that leads to youtube-dl getting an incorrect thumbnail link or when maxresdefault.jpg can't be found, try other names like hqdefault.jpg automatically instead of failing completely.