ITADN

Identifying Windows PC device family

#600Openanandnalya 创建于 2024-08-22
A
anandnalyacommented
Hi, We use the [device_parsers from regexes.yaml](https://github.com/ua-parser/uap-core/blob/1458dfa987dae4d262a97540d424ee4fbe455b63/regexes.yaml#L1892) for identifying the device family from a user agent. An unusually large number of Windows/PC user agents are not identified by any of the device definitions defined in `device_parsers`. I was wondering what would be a better way of handling this: 1. Add a generic Windows PC as a device in `device_parsers` 2. When there is no match in `device_parsers`, identify the OS with `os_parsers` and if Windows, classify it as `Windows PC` Are there any other approaches that might work here? Thanks in advance!
0 条评论