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

Browser Family error? #86

Closed sursu closed 6 years ago

sursu commented 6 years ago

Take the following User Agent instance: 'Mozilla/5.0 (Linux; Android 5.0.2; SM-T535 Build/LRX22G; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/50.0.2661.86 Safari/537.36 [FB_IAB/FB4A;FBAV/77.0.0.20.66;]'

Place that in a variable ua, then:

parse(ua).browser.family

says that the browser family is 'Facebook'.

I have never heard of such a browser family.

Is this behavior correct?

Bentipe commented 6 years ago

Yes it is, as in app browser on facebook gets that