shon / httpagentparser

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

iPad user agent not being recognized #57

Closed alvaromlg closed 10 years ago

alvaromlg commented 10 years ago

With this user agent "AppleCoreMedia/1.0.0.10B329 (iPad; U; CPU OS 6_1_3 like Mac OS X; en_us)" this variable look_for = 'iPad; CPU OS' in the line 436 is not being triggered.

While other iPads missing the U; like this "Mozilla/5.0 (iPad; CPU OS 7_1 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Version/7.0 Mobile/11D167 Safari/9537.53" are being detected correctly.