3rd-Eden / useragent

Useragent parser for Node.js, ported from browserscope.org
MIT License
897 stars 137 forks source link

Feature request - detect Chromecast #98

Closed joeyparrish closed 7 years ago

joeyparrish commented 7 years ago

Currently Chromecast is detected as Chrome Linux. It would be helpful to have it detected as Chromecast, at least in the OS. If there are no objections, I'll create a PR.

joeyparrish commented 7 years ago

Here's a sample UA string: 'Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.84 Safari/537.36 CrKey/1.22.74257

The CrKey part denotes Chromecast.

joeyparrish commented 7 years ago

Added upstream in ua-parser/uap-core#211 . I'll create a PR to update useragent now.

3rd-Eden commented 7 years ago

Cool, closing this issue.