>>> import httpagentparser >>> s = "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.307.11 Safari/532.9" >>> print httpagentparser.simple_detect(s) ('Linux', 'Chrome 5.0.307.11') >>> print httpagentparser.detect(s) {'os': {'name': 'Linux'}, 'browser': {'version': '5.0.307.11', 'name': 'Chrome'}}
forked from shon/httpagentparser
-
Notifications
You must be signed in to change notification settings - Fork 0
Python HTTP Agent Parser
brunobraga/httpagentparser
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Python HTTP Agent Parser
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%