python-user-agents icon indicating copy to clipboard operation
python-user-agents copied to clipboard

Make ua-parser result accessible

Open gma2th-jt opened this issue 3 years ago • 0 comments

python-user-agents use ua-parser to parse the user agent here

I would like to access the result of ua_parser.user_agent_parser.Parse through python-user-agent lib. It's too bad for me to parse the user agent twice, once with python-user-agent, and once with ua-parser.

What do you think of makingua_dict a property of the UserAgent class? I can summit you a PR.

gma2th-jt avatar Mar 24 '22 14:03 gma2th-jt