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.44k stars 197 forks source link

Support for embeeded browsers (Facebook app) #30

Open abdelouahabb opened 9 years ago

abdelouahabb commented 9 years ago

Hi, here is the user agent if you need it:

Mozilla/5.0 (Linux; U; Android 4.1.2; en-us; GT-S6310 Build/JZO54K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 [FB_IAB/FB4A;FBAV/29.0.0.23.13;]

selwin commented 9 years ago

What kind of classification would you apply to a Facebook app though? The only thing I can think of is to make is_bot=True for this user agent.

abdelouahabb commented 9 years ago

but here this is not just a bot, it uses a render engine like the android default browser, maybe it is a new type of browsers: not bot, and not a full browser.