question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[For YouTube] Incorrect Thumbnail URLs being fetched sometimes.

See original GitHub issue

Checklist

  • I’m reporting a broken site support
  • I’ve verified that I’m running youtube-dl version 2021.05.16
  • I’ve checked that all provided URLs are alive and playable in a browser
  • I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
  • I’ve searched the bugtracker for similar issues including closed ones

Verbose log

[debug] Command-line args: ['--cookies', 'cookies.txt', '--verbose', '--merge-output-format', 'mp4', '--write-thumbnail', '--embed-thumbnail', '--output', '[%(upload_date)s] %(title)s (%(id)s).%(ext)s', '--', 'https://www.youtube.com/watch?v=ACV-i-b10io']
[debug] Encodings: locale cp65001, fs mbcs, out cp65001, pref cp65001
[debug] youtube-dl version 2021.05.16
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg 2021-03-09-git-c35e456f54-full_build-www.gyan.dev, ffprobe 2021-03-09-git-c35e456f54-full_build-www.gyan.dev
[debug] Proxy map: {}
[debug] Default format spec: bestvideo+bestaudio/best
WARNING: Unable to download thumbnail "https://i.ytimg.com/vi/ACV-i-b10io/maxresdefault.jpg?v=6039625b": HTTP Error 404: Not Found

Description

While trying to download certain YouTube videos, Youtube-DL fetches the wrong URL and won’t download any thumbnail at all. In the example from the log above, the URL for the thumbnail is: http://i3.ytimg.com/vi/ACV-i-b10io/maxresdefault.jpg

It seems this only occurs with thumbnails on URLs beginning with i3.ytimg.com/vi/xxxxxxxxxxxxx

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Tambzycommented, Jun 5, 2021

that’s how i grab a thumbnail, idk if this helps… https://img.youtube.com/vi/{videoID}/mqdefault.jpg

0reactions
pukkandancommented, May 25, 2021

np, just letting u know 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix wrong video metadata on Facebook and Twitter
When you enter a YouTube URL to Facebook or Twitter, the video title, description, or thumbnail might be wrong or out of date....
Read more >
How to Fix Broken YouTube Thumbnails on Facebook
It's possible to force Facebook to fetch the data again from YouTube. To do so, go to Facebook's Sharing Debugger, paste your video...
Read more >
How to gracefully handle YouTube thumbnail broken images ...
Request the thumbnail from YouTube on the server side, save it into a cache on your server, display cached image.
Read more >
Youtube to Discord Video Thumbnail Issue - Zapier Community
I've got the same issue, though sometimes Discord will fetch the video ... the video description and thumbnail of links....but recently the ...
Read more >
When your Facebook share image is wrong - SangFroid Web
How to force Facebook to Re-scrape your URL: · Go to the Facebook Debugger · Paste the URL for the page/post in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found