python-user-agents icon indicating copy to clipboard operation
python-user-agents copied to clipboard

Nokia devices

Open dianeroozendaal opened this issue 6 years ago • 1 comments

Hi, My nokia 3.1 is detected as a tablet, the user-agent is Mozilla/5.0 (Linux; Android 8.0.0; Nokia 3.1 Build/O00623) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.91 Mobile Safari/537.36 Thanks!

dianeroozendaal avatar Aug 28 '18 07:08 dianeroozendaal

>>> ua = "Mozilla/5.0 (Linux; Android 8.0.0; Nokia 3.1 Build/O00623) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.91 Mobile Safari/537.36"
>>> user_agent = parse(ua)
>>> user_agent.is_tablet
False

should be fixed in latest version

jnozsc avatar Feb 08 '20 04:02 jnozsc