aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuppie2026-05-07 12:55:15 -0600
committerstuppie2026-05-07 12:55:15 -0600
commit4f993b7cc38dce187ae1f9a7776acabc8eee3300 (patch)
treefb30ab35ab70f3cb1e696a7a83e9b8b4afdf82ca
parent01859f2952ec5f7d89fbea64ca60321fa0038426 (diff)
downloadgeneralresearch-4f993b7cc38dce187ae1f9a7776acabc8eee3300.tar.gz
generalresearch-4f993b7cc38dce187ae1f9a7776acabc8eee3300.zip
storage_estimate_quota fingerprint_keys not w chromeHEADv3.3.8master
-rw-r--r--generalresearch/grliq/models/forensic_data.py12
-rw-r--r--pyproject.toml2
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"