Answer the question
In order to leave comments, you need to log in
How to get a captcha?
Hello, I can't get my idea to work. The program takes a screenshot of the site
Here it is:
Next, it should find the captcha on the screen.
Like this :
How to do it? I have an assumption that you need to search by background, since it is the same for these captchas. I've never done this before, so I thought I'd ask. Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Isn't it easier to find the necessary element through DOM parsing instead of a screenshot and take the finished image?
Why take a screenshot to look for a picture in it? You make a simple parser (the same beautifulsoup will do) - go to the site, search for an image in the DOM, find its src, save the image to your desired folder.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question