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 db35a8b commit 689b466
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/rthk.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ class CachedSession(requests_cache.session.CacheMixin, niquests.Session):
'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',
'Mozilla/5.0 (Android 10; Mobile; rv:129.0) Gecko/129.0 Firefox/129.0',
'Mozilla/5.0 (Android 10; Mobile; rv:130.0) Gecko/130.0 Firefox/130.0',
'Mozilla/5.0 (Android 10; Mobile; rv:131.0) Gecko/131.0 Firefox/131.0',
]
session.headers['User-Agent'] = secrets.choice(userAgent)

Expand Down

0 comments on commit 689b466

Please sign in to comment.