httpagentparser
httpagentparser copied to clipboard
Python HTTP Agent Parser
Found this curiosity in the logs: ``` Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0; MSIE; Maxthon/4.1.3.5000) ``` Output: ``` {'browser': {'name': 'Microsoft Internet Explorer'}, 'os': {'name': 'Windows', 'version': '7'}, 'platform':...
Mozilla/5.0 (iPhone; CPU iPhone OS 6_0_1 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Mobile/10A523 [FBAN/FBIOS;FBAV/5.1;FBBV/68414;FBDV/iPho {'dist': {'name': 'IPhone', 'version': 'X) AppleWebKit/536.26 (KHTML, like Gecko) Mobile/10A523 [FBAN/FBIOS'}, 'flavor': {'name': 'MacOS',...
The User agent is: `Mozilla/5.0 (iPad; CPU OS 6_0_1 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Mobile/10A523 [FBAN/FBIOS;FBAV/5.3;FBBV/89182;FBDV/iPad3,1;FBMD/iPad;FBSN/iPhone OS;FBSV/6.0.1;FBSS/2; FBCR/;FBID/tablet;FBLC/en_US]` It is recognized as: `{'flavor': {'version': 'X) AppleWebKit/536.26 (KHTML,...
It would be neat if httpagentparser would detect BlackBerry browsers. In some server logs I found the following UA strings containing BlackBerry: "BlackBerry8310/4.5.0.174 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/124" "BlackBerry8310/4.5.0.69 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/114"...
I get an error trying to parse such user agent "CFNetwork/548.0.4 Darwin/11.0.0" it is user agent for Apple iPhone SDK requests.
For strings like : Netscape(5.0 (Windows NT 6.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1) Netscape(5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10) Netscape(5.0 (Windows NT...
Hey, I'm using `httpagentparser` in my productive code on logged user agents, in order to create some platform- and browser-analysis. One of the users was logged using ```Mozilla/5.0 (iPhone; CPU...
Hi, When I try it with the user agent `Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; Microsoft...
would be nice to have type hints added to the library mypy currently complains due to `httpagentparser: module is installed, but missing library stubs or py.typed marker` https://peps.python.org/pep-0484/
Compatibility with setuptools 72.0 See https://github.com/pypa/setuptools/issues/931 Closes #94 Currently, v72.0.0 of setuptools is yanked and package is installable with 72.1.0, but I guess better to remove this integration anyway because...