selwin / python-user-agents

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

Devices recognised as multiple types (e.g. tablet and mobile) #107

Open BorePlusPlus opened 3 years ago

BorePlusPlus commented 3 years ago

I came across a fair few cases where a device returns true on multiple of is_mobile, is_tablet, and is_pc. I believe this to be a bug (but am open to hearing in which cases it isn't). A most common example I've seen is iPad using a Mobile Chrome getting marked as both mobile and tablet.

kimihito commented 2 years ago

Could you please publish #108 on pypi that addresses this issue?