diff --git a/amazon.py b/amazon.py new file mode 100644 index 0000000..704ad5c --- /dev/null +++ b/amazon.py @@ -0,0 +1,19 @@ +import requests + +url = "https://scraper-api.smartproxy.com/v2/scrape" + +payload = { + "target": "amazon", + "url": "https://www.amazon.com/dp/B08JD3Z1BP/", + "parse": True, +} + +headers = { + "accept": "application/json", + "content-type": "application/json", + "authorization": "Your basic authentication token" +} + +response = requests.post(url, json=payload, headers=headers) + +print(response.text) \ No newline at end of file