oxylabs/how-to-handle-amazon-captcha
oxylabs/how-to-handle-amazon-captcha has 1,764 GitHub stars and 3 forks. GitHot measured +1 stars in 24 hours and +1 in 7 days. Last checked 2026-11-11 15:44 UTC. Last push 2026-06-19.
The process of handling CAPTCHA when extracting public data from Amazon with Oxylabs Amazon Scraper API.
Measured star growth
- in 24h
- +1
- in 7 days
- +1
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalHow to Handle Amazon CAPTCHA When Scraping
Take a look at the process of handling CAPTCHAs when collecting public data from Amazon with Amazon Scraper API (one-week free trial). You can find the full guide on our blog.
Setting up a simple scraper
This scraper will likely encounter a CAPTCHA.
import requests
custom_headers = {
"Accept-language": "en-GB,en;q=0.9",
"Accept-Encoding": "gzip, deflate, br",
"Cache-Control": "max-age=0",
"Connection": "keep-alive",
"User-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1 Safari/605.1.15",
}
url = "https://www.amazon.com/SAMSUNG-Border-Less-Compatible-Adjustable-LS24AG302NNXZA/dp/B096N2MV3H?ref_=Oct_DLandingS_D_fe3953dd_2"
response = requests.get(url, headers=custom_headers)
with open('with_captcha.html', 'w') as file:
file.write(response.text)
Using Amazon Scraper API
The API is designed to avoid CAPTCHAs.
import requests
from pprint import pprint
payload = {
'source': 'amazon',
'url': 'https://www.amazon.com/dp/B096N2MV3H',
'parse': True
}
response = requests.request(
'POST',
'https://realtime.oxylabs.io/v1/queries',
auth=('username', 'password'),
json=payload,
)
pprint(response.json())
with open('without_captcha.json', 'w') as file:
file.write(response.text)
Final word
Follow our technical documentation for all available API parameters.
In case of any issues, please contact us at [email protected]
Looking to scrape more other Amazon data? Amazon Review Scraper, Amazon ASIN Scraper, How to Scrape Amazon Prices, Scraping Amazon Product Data
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,893 starspublic-apis/public-apis
A collective list of free APIs
498,283 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
453,004 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,369 stars