A Python library that provides an easy way to identify devices like mobile phones, tablets and their capabilities by parsing (browser) user agent strings.
MIT License
1.43k
stars
196
forks
source link
VIZIO SmartCast User Agents Incorrectly Parsed as PC Devices #121
VIZIO SmartCast User Agents are being incorrected labeled as with
True
for theis_pc
property in the code below:https://github.com/selwin/python-user-agents/blob/862c54baf1e6dd095390a8ebfdd3f5303a5b0a32/user_agents/parsers.py#L264
Examples of these user agents:
It looks like because these user agents satisfies the both the "Linux" and "X11" conditions the logic is incorrectly classifying them as PC.