JayBizzle / Crawler-Detect

🕷 CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent
https://crawlerdetect.io
MIT License
1.98k stars 256 forks source link

Could we add lscache_runner as user agent? #526

Closed therampagerado closed 4 months ago

therampagerado commented 5 months ago

lscache_runner is a user agent for cache warmers for LSCache from Litespeed servers. Currently if our project uses Crawler-Detect those hits are not treated as bots.

lscache_runner iPhone is another user agent for their mobile crawling.

Documentation: https://docs.litespeedtech.com/lscache/lscps/crawler/

Thanks!

JayBizzle commented 5 months ago

Looks good, create a PR 👍

therampagerado commented 5 months ago

I have issues with the tests. Should we only leave 'lscache_runner'? Will it cover the other UA?

JayBizzle commented 4 months ago

Yes, just add that one, as it will cover the other, that's why the tests are failing 👍🏻

therampagerado commented 4 months ago

Thanks!

New PR - https://github.com/JayBizzle/Crawler-Detect/pull/528