From 54a0bcb0225dfb60563176d7119c7b94af972d66 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Tue, 4 Apr 2023 09:23:52 +0200 Subject: [PATCH] chg: [crawler] update default 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 aca1b478..4d97ef18 100755 --- a/bin/lib/crawlers.py +++ b/bin/lib/crawlers.py @@ -625,7 +625,7 @@ def api_import_cookies_from_json(user_id, cookiejar_uuid, json_cookies_str): # # # # # # # # # # def get_default_user_agent(): - return 'Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0' + return 'Mozilla/5.0 (Windows NT 10.0; rv:102.0) Gecko/20100101 Firefox/102.0' def get_last_crawled_domains(domain_type): return r_crawler.lrange(f'last_{domain_type}', 0, -1)