shon / httpagentparser

Python HTTP Agent Parser
http://pypi.python.org/pypi/httpagentparser/
MIT License
222 stars 55 forks source link

Misdetection of a Firefox UA #62

Open ewjoachim opened 9 years ago

ewjoachim commented 9 years ago

What I have :

    "Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0 (Chrome)"

What httpagentparser tells me :

    {'bot': False,
     'browser': {'name': 'Chrome', 'version': 'Mozilla/5.0'},
     'os': {'name': 'Linux'},
     'platform': {'name': 'Linux', 'version': None}}

Note that except the browser being Chrome, the version is wrong too.

What internet tells me : Mainly Firefox but I'm not sur it corresponds to a real vendor UA, but it seems we can find clients using this UA...

shon commented 9 years ago

Thanks much for reporting. Let see what can I do.