From e9a75e18860a20a7510229d9467a1af87ba4f7b3 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Sun, 8 Mar 2020 23:37:31 +0100 Subject: Fix accept header in crawler --- src/phinde/Indexer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/phinde/Indexer.php') diff --git a/src/phinde/Indexer.php b/src/phinde/Indexer.php index bdd5236..4885b7a 100644 --- a/src/phinde/Indexer.php +++ b/src/phinde/Indexer.php @@ -4,8 +4,8 @@ namespace phinde; class Indexer { static $supportedTypes = array( - 'application/xhtml+xml', - 'text/html', + 'application/xhtml+xml' => true, + 'text/html' => true, ); public function run(Retrieved $retrieved) -- cgit v1.2.3