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 23, 2024
1 parent 935a9d9 commit ce05315
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/rthk.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ class CachedSession(requests_cache.session.CacheMixin, niquests.Session):
adapter = HTTPAdapter( max_retries=retries )
session.mount("https://", adapter=adapter)
session.mount("http://", adapter=adapter)
time.sleep(1) # 'Cannot select a disposable connection to ease the charge'
# time.sleep(1) # 'Cannot select a disposable connection to ease the charge'

session.quic_cache_layer.add_domain( 'mozilla.cloudflare-dns.com' )
# session.headers['Cache-Control'] = 'no-cache'
# session.headers['Pragma'] = 'no-cache'
userAgent = [
Expand Down

0 comments on commit ce05315

Please sign in to comment.