From 4f993b7cc38dce187ae1f9a7776acabc8eee3300 Mon Sep 17 00:00:00 2001 From: stuppie Date: Thu, 7 May 2026 12:55:15 -0600 Subject: storage_estimate_quota fingerprint_keys not w chrome --- generalresearch/grliq/models/forensic_data.py | 12 +++++++++++- pyproject.toml | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/generalresearch/grliq/models/forensic_data.py b/generalresearch/grliq/models/forensic_data.py index fe26a45..70cc94d 100644 --- a/generalresearch/grliq/models/forensic_data.py +++ b/generalresearch/grliq/models/forensic_data.py @@ -43,6 +43,7 @@ from generalresearch.grliq.models.useragents import ( GrlUserAgent, OSFamily, UserAgentHints, + BrowserFamily, ) from generalresearch.models.custom_types import ( AwareDatetimeISO, @@ -534,7 +535,16 @@ class GrlIqData(BaseModel): ] if self.useragent.os.family in {OSFamily.IOS, OSFamily.MAC_OSX}: fp_cols.extend(["screen_width", "screen_height"]) - if self.useragent.os.family not in {OSFamily.CHROME_OS, OSFamily.ANDROID, OSFamily.WINDOWS}: + if self.useragent.os.family not in { + OSFamily.CHROME_OS, + OSFamily.ANDROID, + OSFamily.WINDOWS, + } and self.useragent.browser.family not in { + BrowserFamily.CHROME, + BrowserFamily.CHROME_MOBILE, + BrowserFamily.CHROME_MOBILE_IOS, + BrowserFamily.CHROME_MOBILE_WEBVIEW, + }: # On certain system this is the actual value (to the byte) which results in it # changing frequently. fp_cols.append("storage_estimate_quota") diff --git a/pyproject.toml b/pyproject.toml index 3cfedab..9929a76 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "generalresearch" -version = "3.3.7" +version = "3.3.8" description = "Python Utilities for General Research" readme = "README.md" requires-python = ">=3.8" -- cgit v1.2.3