@@ -198,11 +198,14 @@ public static function getApp(string $value, array $data = []) : array {
198198 ],
199199 'yisouspider ' => [
200200 'app ' => 'Yisou Spider '
201+ ],
202+ 'google-read-aloud ' => [
203+ 'app ' => 'Google Read Aloud '
201204 ]
202205 ];
203206 return \array_merge ([
204207 'type ' => 'robot ' ,
205- 'category ' => \mb_stripos ($ value , 'crawler ' ) !== false || \mb_stripos ($ value , 'bot ' ) !== false ? 'crawler ' : 'scraper ' ,
208+ 'category ' => \mb_stripos ($ value , 'crawl ' ) !== false || \mb_stripos ($ value , 'bot ' ) !== false ? 'crawler ' : 'scraper ' ,
206209 'app ' => $ parts [0 ],
207210 'appname ' => $ parts [0 ],
208211 'appversion ' => empty ($ parts [1 ]) ? null : $ parts [1 ]
@@ -252,6 +255,7 @@ public static function get() : array {
252255 'facebookexternalhit/ ' => new props ('start ' , $ fn ['map ' ]),
253256 'Google-Site-Verification/ ' => new props ('start ' , $ fn ['map ' ]),
254257 'Google-InspectionTool/ ' => new props ('start ' , $ fn ['map ' ]),
258+ 'Google-Read-Aloud ' => new props ('exact ' , $ fn ['feed ' ]),
255259 'Mediapartners-Google ' => new props ('start ' , $ fn ['search ' ]),
256260 'FeedFetcher-Google ' => new props ('exact ' , $ fn ['feed ' ]),
257261 'GoogleProducer ' => new props ('exact ' , $ fn ['feed ' ]),
@@ -394,7 +398,7 @@ public static function get() : array {
394398 'bot/ ' => new props ('any ' , $ fn ['map ' ]),
395399 'bot- ' => new props ('any ' , $ fn ['map ' ]),
396400 ' bot ' => new props ('any ' , $ fn ['map ' ]),
397- 'bot ' => new props ('end ' , $ fn ['map ' ])
401+ 'bot ' => new props ('end ' , $ fn ['map ' ]),
398402 ];
399403 }
400404}
0 commit comments