D
D
Danil Sysoev2016-06-21 12:31:31
PHP
Danil Sysoev, 2016-06-21 12:31:31

How to send captcha to antigate using PHP?

Friends, welcome again.
A little lost in space when solving the problem.
Situation:
In general, I am doing authorization on my site on other resources so that the user enters data, and the page of the personal account of another resource is parsed there.
Questions:
1) There is a site, for example, and it has a captcha that is generated on the server, that is, I just can’t download the curtain. The question is how to get it to send it to antigate. (An example of a captcha is here socpublic.com ) If I copy the src attribute and put it after the update, then it does not show the previous one (oddly enough).
2) I make a request to the site using cURL. And the question is this: To get the captcha itself - I make a request to the site. Let's say the captcha went to anti-gate, it was solved there and I'm ready for authorization, but after all, when I make the next request for authorization, will the captcha be different? Right.
I would appreciate it if you point me in the right direction. And then I don't know what to use. Can I somehow screenshot with js? Don't even know.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
shagguboy, 2016-06-21
@shagguboy

that is, I just can’t download the curtain

can. the browser is downloading.
you need to pass cookies, headers, and most likely be able to execute javascript.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question