amazon-vine
amazon-vine copied to clipboard
Why the sw do not open a webpage or image to solve captcha?
Hi Timur, I am not an expert of Python but when a captcha is found in singIn page your script do not give the possibility to the user to solve it. I found that in the code there are not a call to the function "solve_captcha". How can I solve this problem?
I haven't seen a captcha at all this year. I'm surprised you've seen one, the browsercookie feature should eliminate the need for captchas.
Anyway, solve_captcha is definitely there, on line 101, and there's a call to it on line 200. Can you please post the error log?
Ok timur I will post the error but for now captcha disappeared again !
I've seen the captcha on Amazon when I run VPN, but that's the only time.
Well, there's not much I can do if I can't reproduce the problem. I'm no Python expert, and the error handling in my script is not robust. I don't want to add a lot of code to handle occasional errors. When I run the script, I do it like this:
#!/bin/sh
export AMAZON_EMAIL=xxx
export AMAZON_PASSWORD=xxx
export DEATHBYCAPTCHA_USERID=xxx
export DEATHBYCAPTCHA_PASSWORD=xxx
while :
do
date
python amazon-vine.py $*
done
So if the script every fails, it just restarts. This eliminates the need for complicated error handling code.
I think that you are genius