From 554897e1d85e61272e1915941590a5789d115678 Mon Sep 17 00:00:00 2001 From: terrtia Date: Tue, 8 Oct 2024 10:27:03 +0200 Subject: [PATCH] chg: [crawler] update tor user agent --- bin/lib/crawlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/lib/crawlers.py b/bin/lib/crawlers.py index 7f6ff157..9f4c2839 100755 --- a/bin/lib/crawlers.py +++ b/bin/lib/crawlers.py @@ -1012,7 +1012,7 @@ def api_import_cookies_from_json(user_org, user_id, user_role, cookiejar_uuid, j # # # # # # # # def get_default_user_agent(): - return 'Mozilla/5.0 (Windows NT 10.0; rv:102.0) Gecko/20100101 Firefox/102.0' + return 'Mozilla/5.0 (Windows NT 10.0; rv:109.0) Gecko/20100101 Firefox/115.0' def get_last_crawled_domains(domain_type): return r_crawler.lrange(f'last_{domain_type}', 0, -1)