User-Agent bots
Python urllib
Python urllib HTTP client.
- client
- category
Official: docs.python.org/3/library/urllib.html
Parse it
Send the User-Agent to the API, device, OS, browser, and bot detection come back in one response. Python urllib is identified by name when the string matches.
curl -s "https://api.parseapi.com/useragent" \
-H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15" \
-H "X-API-Version: 2.2.0" \
-H "X-Api-Key: $PARSEAPI_KEY"