amazon-vine icon indicating copy to clipboard operation
amazon-vine copied to clipboard

Why the sw do not open a webpage or image to solve captcha?

Open zyzzando opened this issue 7 years ago • 5 comments

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?

zyzzando avatar Oct 21 '17 23:10 zyzzando

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?

timur-tabi avatar Oct 21 '17 23:10 timur-tabi

Ok timur I will post the error but for now captcha disappeared again !

zyzzando avatar Dec 01 '17 21:12 zyzzando

I've seen the captcha on Amazon when I run VPN, but that's the only time.

User2020 avatar Dec 01 '17 21:12 User2020

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.

timur-tabi avatar Dec 01 '17 21:12 timur-tabi

I think that you are genius

zyzzando avatar Dec 01 '17 21:12 zyzzando