Skip to content

Instantly share code, notes, and snippets.

header = {'user-agent':'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36','Referer':'https://www.google.com/'}
url = "https://www.amazon.com/s?k=Liquid+Laundry+Detergent&rh=n%3A15342931&ref=nb_sb_noss&rh=p_85%3A2470955011%2Cp_36%3A1-500"
html = requests.get(url,params=None,headers=header,cookies=None,auth=None,timeout=None)