Skip to content

Commit

Permalink
Update rthk.py
Browse files Browse the repository at this point in the history
  • Loading branch information
raileo98 authored Oct 19, 2024
1 parent 8cdf68e commit e31b016
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/rthk.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit e31b016

Please sign in to comment.