import http.client conn = http.client.HTTPSConnection('www.amazon.com.tr') headers = { 'User-Agent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br', 'Connection': 'keep-alive', 'Cookie': 'session-id=260-6118508-7375933; session-id-time=2082787201l; i18n-prefs=TRY; csm-hit=tb:VEK63WYPFXTN9STD9N7D+s-3B2X46PH1NW9ZZ673KE7|1719624176759&t:1719624176759&adb:adblk_no; ubid-acbtr=262-2418032-5109241; session-token="wSUyfgmiYwFRDYDKd3gyV7//a+/cHPtnCAO4CxuTUIXkGVKLcq5moLJ78M4FFVEazd58sEtcx7cyJakJW0al10gkVXjr4P+TdM6E/XNSXsTAsyYnSNYdfGQbMIq4sLjm1wior/mMfgzCUrfI9RjC5e4tl/5pi5pqbm8iem2RYn8+Xngdky3Fv6KsfN/wDhlq78ZBxnGaEWBSN/6XVnZh+m2llc4Ls7BiPzDyBARUamCW/60PbPpkegTNBhwdJXb37FsuWGLPJHONxYOvX4VwTBZFZCceeli/H7xX4BzsCcIM2Z2H+DOvuT66GFDTCYtCd4Hp735VScbiGmd+Y34+bEVkVLjKHYlN23cHYmbO1IE="', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'TE': 'trailers', } conn.request( 'GET', '/s?i=kitchen&rh=n%3A12466781031%2Cp_36%3A-10000%2Cp_98%3A21345978031&s=price-asc-rank&dc&fs=true&ds=v1%3AnP%2BzT8nOVuRcSOdyfZ38fYC59RjKWU1VdQs3i5FrQsw&qid=1719624115&ref=sr_st_price-asc-rank', headers=headers ) response = conn.getresponse()