Streetmerchant: Amazon giving captchas, not getting to item page

Created on 7 Nov 2020  路  6Comments  路  Source: jef/streetmerchant

Description

I tried disabling headless and noticed Amazon links are hitting a captcha page and not actually making it to the item page. Is there any way around this?

Running on Ubuntu 20.04

bug

All 6 comments

open a browser to amazon and pass the captcha manually.

If I open Chromium and go to one of the Amazon product pages manually, I don't get prompted for a captcha. It just takes me to the product page.

Also, try custom user agents.

Also, try custom user agents.

This is most likely the case. Amazon will tend to give more CAPTCHA requirements when the browser doesn't match the system.

Did some quick googling and found this Stack Overflow discussion

https://stackoverflow.com/questions/55678095/bypassing-captchas-with-headless-chrome-using-puppetee

I added the following line to my USER_AGENT env variable

USER_AGENT=5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

Watched it run through amazon with headless = false and captchas were gone.

Give that a shot.

USER_AGENT=5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

Awesome, thanks! That worked for me, too.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gahmee picture gahmee  路  3Comments

louij2 picture louij2  路  3Comments

poly-mathic picture poly-mathic  路  5Comments

kylezoa picture kylezoa  路  3Comments

wdrury-uk picture wdrury-uk  路  4Comments