}
/* Extract the thumbnail URL from the webpage contents */
- preg_match('/thumbnail: \'(http:\/\/.*?\/ThumbnailServer2.+?)\'/i',
+ preg_match('/\'(http:\/\/.*?\/ThumbnailServer2.+?)\'/i',
$contents, $matches);
$thumbnail=$matches[1];
$thumbnail=preg_replace("/\\\\x26/","&",$thumbnail);