From d9b0ef7fec32d06faec82150e4c4e7c9f879334c Mon Sep 17 00:00:00 2001
From: Alan Pippin <apippin@pippins.net>
Date: Sat, 2 Oct 2010 21:27:38 -0600
Subject: [PATCH] Fixed vimeo thumbnail processing code

---
 ItemAddEmbedVideo.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ItemAddEmbedVideo.inc b/ItemAddEmbedVideo.inc
index 820fe6f..2298698 100644
--- a/ItemAddEmbedVideo.inc
+++ b/ItemAddEmbedVideo.inc
@@ -804,7 +804,7 @@ class ItemAddEmbedVideo extends ItemAddPlugin {
 	       $title=$matches[1];
 
 	       /* Extract the thumbnail URL from the webpage contents */
-	       preg_match('/"videothumbnail" href="(.+?)"/i',
+	       preg_match('/"og:image" content="(.+?)"/i',
 			  $contents, $matches);
 	       $thumbnail=$matches[1];
 
-- 
2.34.1