JayBizzle / Crawler-Detect

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

False positive detection of YaBrowser #542

Closed stdex closed 1 month ago

stdex commented 2 months ago

https://github.com/JayBizzle/Crawler-Detect/issues/541 https://github.com/JayBizzle/Crawler-Detect/issues/534

Changes:

  1. Add "Yandex" and YandexModule2 to exclusions (this string chould be part of useragent YaBrowser)
  2. Modify tests:
    • current test cases move to data subdirectory (tests/data/user_agent/crawlers.txt, tests/data/user_agent/devices.txt)
    • add new test cases for HTTP_SEC_CH_UA (tests/data/sec_ch_ua/crawlers.txt, tests/data/sec_ch_ua/devices.txt)
stdex commented 3 weeks ago

@JayBizzle release new version please!

JayBizzle commented 3 weeks ago

Released 👍