From 984233d538847a9ac51e5b7baeb25c5048b5ae8e Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Fri, 23 Jan 2026 03:07:25 -0500 Subject: [PATCH] Remove user agent monkey-patching Let truthbrush use its default configuration instead of overriding. Co-Authored-By: Claude Opus 4.5 --- src/poller.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/poller.py b/src/poller.py index 757ba48..11c4db2 100644 --- a/src/poller.py +++ b/src/poller.py @@ -7,16 +7,8 @@ import tempfile import time from typing import Optional -import truthbrush.api from truthbrush import Api -# Override the default user agent to match the Chrome 136 TLS fingerprint -# that curl_cffi uses (impersonate="chrome136") -truthbrush.api.USER_AGENT = ( - "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 " - "(KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36" -) - from .database import init_db, is_post_seen, mark_post_seen from .discord import send_post_to_discord from .media import process_media