Skip to content

Commit

Permalink
Updated user-agent.
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed Apr 14, 2020
1 parent 94caed2 commit 2f5be01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions authenticator.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,8 @@ def sleep(minutes):
url,
data=None,
headers={
'User-Agent': ('Mozilla/5.0 (Windows NT 10.0; Win64; x64) '
'AppleWebKit/537.36 (KHTML, like Gecko) '
'Chrome/80.0.3987.163 Safari/537.36')
'User-Agent': ('Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) '
'Gecko/20100101 Firefox/74.0')
}
)

Expand Down
5 changes: 2 additions & 3 deletions cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@ def getrequest(record_id):
url + record_id,
data=None,
headers={
'User-Agent': ('Mozilla/5.0 (X11; CrOS x86_64 11647.154.0) '
'AppleWebKit/537.36 (KHTML, like Gecko) '
'Chrome/73.0.3683.114 Safari/537.36')
'User-Agent': ('Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) '
'Gecko/20100101 Firefox/74.0')
}
)

Expand Down

0 comments on commit 2f5be01

Please sign in to comment.