It happens way to often that I need to pull the thumbnail image for a YouTube video on a web post that I'm working on. Seems like YouTube would make this relatively easy, but it's not.
Turns out that YouTube thumbnails have a standard naming convention. Image urls are usually in the format
_SIZE_ is an image size from the list below.
What this script does is attempt to load each of these images, in the same order as the table. If the image is found it's displayed along with the URL. If the image size doesn't exist then it's skipped.