Actualizados headers de los ataques a URL por cambios en idealsita.
This commit is contained in:
parent
ed32b15bc1
commit
38984822a7
2 changed files with 11 additions and 7 deletions
|
|
@ -3,12 +3,16 @@ import requests
|
|||
|
||||
|
||||
class UrlAttack():
|
||||
|
||||
|
||||
headers = {'Upgrade-Insecure-Requests': "1",
|
||||
'Accept': "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
|
||||
'Accept': "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
|
||||
'Accept-Encoding': "gzip, deflate, br",
|
||||
'Accept-Language': "en-US,en;q=0.9",
|
||||
'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/67.0.3396.99 Chrome/67.0.3396.99 Safari/537.36'}
|
||||
'Accept-Language': "en-US,en;q=0.5",
|
||||
'Cache-Control': 'no-cache',
|
||||
'Connection': 'keep-alive',
|
||||
'Host': 'www.idealista.com',
|
||||
'Pragma': 'no-cache',
|
||||
'user-agent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0'}
|
||||
|
||||
timeout = 20
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue