Can you scrape Amazon search results?
We asked 12 open source scraping tools to fetch amazon.com/s?k=laptop, and counted a result as usable only if the page held laptop search results with product prices. We tested public pages only, and this page is not legal advice.
Tested · How we test
Comparison
4 of the 12 tools got pages that held the content, but our check failed on them, so there are no checked times or memory to compare. The table below shows what each tool got.
Code to start with
URL = "https://www.amazon.com/s?k=laptop"
from curl_cffi import Session
with Session(impersonate="chrome150") as s:
html = s.get(URL).textAll 12 results
Click a column to sort. Time and memory show only for tools that got the page.
Got the pageContent missingRefused or blockedOur check failed
Notes
- The page held laptop listings with prices in lei. We ran the test from Romania, and our check accepted only dollar, pound and euro prices. We set this result by hand after reading the saved page.
- The page arrived without the content our check looks for.
- The site answered with status 503, a server error that some sites send to bots.
How we tested
Each tool fetched the page once, in a fresh session, with no proxy. Tools without a browser send one HTTP request and read the HTML that comes back. Browser tools load the page and run its JavaScript. Each tool's script below shows the exact settings we used. We have not yet tested residential proxies, paid scraping APIs or many pages in a row. Our full method
Scripts and results files
Each tool's results file holds every attempt from this run, with the HTTP status, the time, the memory and what our check found. The pages the tools fetched are not published.