From abd37925e8060c26cedfc5316d236518994a530e628350b6b83d4e4f6d2e1c1f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 2 Dec 2023 14:17:21 +0000 Subject: [PATCH] - 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/package/show/devel:languages:python/python-fake-useragent?expand=0&rev=18 --- fake-useragent-1.2.1.tar.gz | 3 --- fake-useragent-1.4.0.tar.gz | 3 +++ python-fake-useragent.changes | 18 +++++++++++++++++- python-fake-useragent.spec | 2 +- 4 files changed, 21 insertions(+), 5 deletions(-) delete mode 100644 fake-useragent-1.2.1.tar.gz create mode 100644 fake-useragent-1.4.0.tar.gz diff --git a/fake-useragent-1.2.1.tar.gz b/fake-useragent-1.2.1.tar.gz deleted file mode 100644 index f7a5c75..0000000 --- a/fake-useragent-1.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7b384275587581284fac5c91a3bb9e6105ffc24dc979da4079240bb53182250b -size 26679 diff --git a/fake-useragent-1.4.0.tar.gz b/fake-useragent-1.4.0.tar.gz new file mode 100644 index 0000000..aa91492 --- /dev/null +++ b/fake-useragent-1.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5ca18cf4286824005d6bfcdb6337eb153d88eeaa85c80ed689830ca30659ebb +size 28267 diff --git a/python-fake-useragent.changes b/python-fake-useragent.changes index eddb2a4..9651195 100644 --- a/python-fake-useragent.changes +++ b/python-fake-useragent.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Sat Dec 2 14:16:36 UTC 2023 - Dirk Müller + +- 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 + ------------------------------------------------------------------- Tue Aug 8 10:59:35 UTC 2023 - Dirk Müller @@ -21,7 +37,7 @@ Wed Apr 19 09:46:13 UTC 2023 - Dirk Müller Thu Feb 9 17:10:26 UTC 2023 - Dirk Müller - update to 1.1.2: - * security update + * security update ------------------------------------------------------------------- Mon Jan 2 16:00:55 UTC 2023 - Dirk Müller diff --git a/python-fake-useragent.spec b/python-fake-useragent.spec index 5f387d9..3c1a140 100644 --- a/python-fake-useragent.spec +++ b/python-fake-useragent.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-fake-useragent -Version: 1.2.1 +Version: 1.4.0 Release: 0 Summary: Useragent faker package for Python License: Apache-2.0