pypi fake-useragent 2.0.0

latest releases: 2.0.3, 2.0.2, 2.0.1...
18 days ago

fake-useragent v2.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

  • 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"]

Improved

  • min_percentage option works again! And uses the percent field of the user-agent data

Please read the README for more examples and options.

What's Changed

New Contributors

Full Changelog: 1.5.1...2.0.0

Don't miss a new fake-useragent release

NewReleases is sending notifications on new releases.