Skip to content

Instantly share code, notes, and snippets.

@amazingjoe
Last active March 30, 2022 00:13
Show Gist options
  • Save amazingjoe/58a97406fc09b3c73613004378fa4295 to your computer and use it in GitHub Desktop.
Save amazingjoe/58a97406fc09b3c73613004378fa4295 to your computer and use it in GitHub Desktop.
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment