- Update to 2.1.0
* Speedup ua_convert parser by @sebastian-correa in #424
* Check for dunder attributes in FakeUserAgent.getattr() and
make safe_attrs = ['shape'] by default by @rjys365 in #454
- Release 2.0.0
* Finally, we successfully switched (again) to a new data source
from Intoli, which allows us to have much more user-agent
strings again. Thank you all for your support!
* Important: Keep in mind that v2.0.0 does have some breaking
changes like platform type "pc" value is now changed to
"desktop" (in case you were using this). See below for all
breaking changes!
## Breaking changes
* OS and browser options are now case sensitive!!
* Possible browser options are: ["Google", "Chrome", "Firefox",
"Edge", "Opera"," Safari", "Android", "Yandex Browser",
"Samsung Internet", "Opera Mobile", "Mobile Safari", "Firefox
Mobile", "Firefox iOS", "Chrome Mobile", "Chrome Mobile iOS",
"Mobile Safari UI/WKWebView", "Edge Mobile", "DuckDuckGo
Mobile", "MiuiBrowser", "Whale", "Twitter", "Facebook", "Amazon
Silk"]
* Most browser strings are case-sensitive, except for some common
browsers like firefox, edge, chrome, opera, safari. In these
cases you will receive both mobile and non-mobile user-agent
strings by default.
* Platforms types (if specified) allowed options are: ["desktop",
"mobile", "tablet"] (no pc anymore)
* Possible OS options are now increased to the following list:
["Windows", "Linux", "Ubuntu", "Chrome OS", "Mac OS X",
"Android", "iOS"]. And again case sensitive.
OBS-URL: https://build.opensuse.org/request/show/1267874
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fake-useragent?expand=0&rev=25
- update to 1.4.0:
* python 3.12 support
* 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.
* Improved user-agent scraper (now also containing Safari
browser again)
* Updated browsers.json data file
* security update
OBS-URL: https://build.opensuse.org/request/show/1130471
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fake-useragent?expand=0&rev=10
* python 3.12 support
* 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.
* Improved user-agent scraper (now also containing Safari
browser again)
* Updated browsers.json data file
* security update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fake-useragent?expand=0&rev=18
* Still using the new dataset of course!
* Small improvements in the min_percentage check
* Update all Pip package dependencies
* Updated browser useragent data 🚀
* Allow filters on browser, OS and usage percentage 🚀
* Update the cache scraper to scape the new data source for
user-agent strings
* Adapted the code to work with the new JSON data format
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fake-useragent?expand=0&rev=16