From df34af9e45561026a576d143e81f947a595afb5b Mon Sep 17 00:00:00 2001 From: uohlhv Date: Sat, 20 Jul 2024 19:23:21 +0800 Subject: [PATCH] Revert "Use the Piped proxy for thumbnails." This reverts commit ca7e7affd6ed8a3ea24ddfd98d2af02dbd527275. --- plugins/af_youtube_thumbnail/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/af_youtube_thumbnail/init.php b/plugins/af_youtube_thumbnail/init.php index 116ddc4..650f1ad 100644 --- a/plugins/af_youtube_thumbnail/init.php +++ b/plugins/af_youtube_thumbnail/init.php @@ -13,7 +13,7 @@ class Af_Youtube_Thumbnail extends Plugin { function hook_article_filter($article) { if(strpos($article["link"], "youtube.com") !== FALSE) { $video_id = str_replace('https://www.youtube.com/watch?v=', '', $article["link"]); - $article["content"] = ''.$article['; + $article["content"] = ''.$article['; } return $article;