I'm trying to crawl a site called Tirerack with selenium.
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time
import urllib.request
driver=webdriver.Chrome()
driver.get("https://www.tirerack.com/tires/TireSearchResults.jsp?tireIndex=0&autoMake=Audi&autoYear=2021&autoModel=Q5+2.0T&autoModClar=Premium&width=235%2F&ratio=60&diameter=18&sortCode=53910&skipOver=true&minSpeedRating=H&minLoadRating=S")
time.sleep(10)
driver.find_element_by_id("oe-Tires").click()
Later, I tried to code the desired part step by step, but found that it did not work.
And, Finally, I found that I need to put a value of Cookie and Authority as request header.
I checked the value of header..
https://i.stack.imgur.com/FyrPK.png
But I can't find a way of coding.. So I uploaded this question.
Can I get some hints?