diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2020-03-08 23:37:31 +0100 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2020-03-08 23:37:31 +0100 |
| commit | e9a75e18860a20a7510229d9467a1af87ba4f7b3 (patch) | |
| tree | 59a5685ff1a7a9a9ff2e200f712d086b77c58e7f /src/phinde/Indexer.php | |
| parent | eca6e9af6dea38f5912c881a5dc05193e1b19848 (diff) | |
| download | phinde-e9a75e18860a20a7510229d9467a1af87ba4f7b3.tar.gz phinde-e9a75e18860a20a7510229d9467a1af87ba4f7b3.zip | |
Fix accept header in crawler
Diffstat (limited to 'src/phinde/Indexer.php')
| -rw-r--r-- | src/phinde/Indexer.php | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
