Updated user-agent.
This commit is contained in:
parent
94caed2d98
commit
2f5be01ec9
2 changed files with 4 additions and 6 deletions
|
@ -71,9 +71,8 @@ req = urllib.request.Request(
|
|||
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')
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
@ -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')
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue