You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because this repo is mostly a python wrapper for the User Agent String Parser repo (https://github.com/ua-parser/uap-core), the changes made to this repo are best described by the update diffs in that project. Please see the diffs for this submodule (https://github.com/ua-parser/uap-core/releases) for a list of what has changed between versions of this package.
40
-
41
-
Getting Started
42
-
---------------
43
-
44
-
Retrieve data on a user-agent string
45
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
46
-
47
-
.. code-block:: python
48
-
49
-
>>>from ua_parser import user_agent_parser
50
-
>>>import pprint
51
-
>>> pp = pprint.PrettyPrinter(indent=4)
52
-
>>> ua_string ='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.104 Safari/537.36'
0 commit comments