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

Address devices marked as multiple types #108

Closed BorePlusPlus closed 3 years ago

BorePlusPlus commented 3 years ago

There are cases (e.g. iPad using Chrome mobile) where a device ends up being marked as both tablet and mobile.

The PR gives priority to explicit device family over determining it by other means.

selwin/python-user-agents#107

selwin commented 3 years ago

Thanks!