- Introducing new
ua.getRandom
,ua.getFirefox
,ua.getChrome
,ua.getSafari
. And a generic method:ua.getBrowser(..)
(eg.getBrowser('firefox')
)- These new properties above allows you to retrieve the whole raw Python dictionary, instead of only the UA string.
- These properties might return different key/values pairs in the future! So
ua.random
is a more stable interface.
- Fix the
os
argument 'windows' to check for bothwin10
andwin7
values (previously only checking onwin10
), thus returning more UAs - Improved user-agent scraper (now also containing Safari browser again)
- Updated browsers.json data file