Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
sakanamk authored May 28, 2024
1 parent e54cdc8 commit 5fe291c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions amazon.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 5fe291c

Please sign in to comment.