From 808b52c5d3ed702a7160adf563efb5492f101ff6 Mon Sep 17 00:00:00 2001 From: Andres Rey Date: Sat, 1 Dec 2018 11:40:55 +0000 Subject: Add "image" to the list of keys to search for --- src/Readability.php | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/Readability.php b/src/Readability.php index 8c55e69..95fe780 100644 --- a/src/Readability.php +++ b/src/Readability.php @@ -373,6 +373,7 @@ class Readability // get main image $key = current(array_intersect([ + 'image', 'og:image', 'twitter:image' ], array_keys($values))); -- cgit v1.2.3