From e31b016f2712130d131afc4ccda2836c80cdf1c1 Mon Sep 17 00:00:00 2001 From: raileo98 <164594063+raileo98@users.noreply.github.com> Date: Sat, 19 Oct 2024 05:10:29 +0000 Subject: [PATCH] Update rthk.py --- code/rthk.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/rthk.py b/code/rthk.py index 60eac0395..8e9d8f194 100644 --- a/code/rthk.py +++ b/code/rthk.py @@ -53,9 +53,9 @@ class CachedSession(requests_cache.session.CacheMixin, niquests.Session): # session.headers['Cache-Control'] = 'no-cache' # session.headers['Pragma'] = 'no-cache' userAgent = [ - 'Mozilla/5.0 (Windows NT 10.0; rv:126.0) Gecko/20100101 Firefox/126.0', - 'Mozilla/5.0 (Windows NT 10.0; rv:127.0) Gecko/20100101 Firefox/127.0', - 'Mozilla/5.0 (Windows NT 10.0; rv:128.0) Gecko/20100101 Firefox/128.0', + 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0', + 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0', + 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0', ] session.headers['User-Agent'] = secrets.choice(userAgent)