From f7553a85847b1a40cf9d348ebbc2d27956fa8ac1 Mon Sep 17 00:00:00 2001 From: "Alan J. Pippin" Date: Sun, 1 Feb 2009 13:42:23 -0700 Subject: [PATCH] Fixed google video thumbnail parsing pattern --- ItemAddEmbedVideo.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ItemAddEmbedVideo.inc b/ItemAddEmbedVideo.inc index 4e16f42..bfb8daa 100644 --- a/ItemAddEmbedVideo.inc +++ b/ItemAddEmbedVideo.inc @@ -331,7 +331,7 @@ class ItemAddEmbedVideo extends ItemAddPlugin { } /* 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); -- 2.34.1