amazoncaptcha icon indicating copy to clipboard operation
amazoncaptcha copied to clipboard

Constantly Not Solved

Open VihaanReddyM opened this issue 1 year ago • 6 comments

Paste the code showing which endpoint of the AmazonCaptcha library you are using

from amazoncaptcha import AmazonCaptcha

captcha = AmazonCaptcha('src\captcha\captcha.png')
solution = AmazonCaptcha('src\captcha\captcha.png').solve()
print(solution)

# Or: solution = AmazonCaptcha('captcha.jpg').solve()

If your endpoint is not ".fromdriver", paste the code of how you download the image

Code goes here

Is it really constant? How many captchas in a row have given the "Not Solved" result? about 10 times

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots If applicable, add screenshots to help explain your problem. image

Environment (please complete the following information):

  • OS: [e.g. iOS] WIndows 10
  • Driver [e.g. chrome, safari]
  • Driver version [e.g. 22]

Additional context Add any other context about the problem here.

VihaanReddyM avatar Jun 11 '23 10:06 VihaanReddyM

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 07 '23 03:08 stale[bot]

bruh

VihaanReddyM avatar Aug 08 '23 01:08 VihaanReddyM

hi,

  • you are using the endpoint to parse the image that is located on your computer,
  • that means that you've downloaded it beforehand,
  • if you change the image during the download process, this will affect the results, as the solver is based on the original size and resolution of the image on amazon

the docs clearly says to use .fromlink for consistent results, if you are not using that, the error template clearly says If your endpoint is not ".fromdriver", paste the code of how you download the image

you've shared zero information for me to be able to help you out

a-maliarov avatar Aug 08 '23 01:08 a-maliarov

Just started playing with this and having a similar issue here.

My code is

from amazoncaptcha import AmazonCaptcha
from selenium import webdriver

driver = webdriver.Chrome() # This is a simplified example
driver.get('https://www.amazon.com/errors/validateCaptcha')

captcha = AmazonCaptcha.fromdriver(driver)
solution = captcha.solve()

print(solution)

and the output is always unsolved (it seems to me that the result is not even being written to the browser)

YSternlicht avatar Aug 30 '23 20:08 YSternlicht

yea maybe

VihaanReddyM avatar Sep 05 '23 07:09 VihaanReddyM

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 15 '23 06:12 stale[bot]