WhichBrowser / Parser-PHP

Browser sniffing gone too far — A useragent parser library for PHP
http://whichbrowser.net
MIT License
1.8k stars 237 forks source link

Add `Apple Bot` to bots list #584

Closed summercms closed 3 years ago

summercms commented 4 years ago

See github issue: https://github.com/WhichBrowser/Parser-PHP/issues/568

Applebot/0.1 (current)

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Safari/605.1.15 (Applebot/0.1; +http://www.apple.com/go/applebot)

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Applebot/0.1; +http://www.apple.com/go/applebot)

Mozilla/5.0 (iPhone; CPU iPhone OS 8_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B410 Safari/600.1.4 (Applebot/0.1; +http://www.apple.com/go/applebot)

Applebot/0.3 (current)

Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25 (compatible; Applebot/0.3; +http://www.apple.com/go/applebot)

AppleNewsBot

AppleNewsBot

Reverse DNS

17-58-101-14.applebot.apple.com

Dead Bots (2015 - 2016)

Applebot/0.3

Mozilla/5.0 (compatible; Applebot/0.3; +http://www.apple.com/go/applebot)

Applebot/0.1

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Applebot/0.1)

Not going to add these dead bots to the pr.

Link: http://www.apple.com/

Link: http://www.apple.com/go/applebot

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.02%) to 99.97% when pulling 2396dde2d1057c28401695e4fb8fe52b5e70c23b on ayumi-cloud:Applebot into 880b9fa797401d14b28956442944c3daa70240ff on WhichBrowser:master.

NielsLeenheer commented 3 years ago

Fixed by 1159cce42dc62c0554c3490ce017170247150631