Php curl simulates login with a cookie, but some websites still have a verification code. How can this problem be solved? Php curl simulates login with a cookie, but some websites still have a verification code. How can this problem be solved?
Reply content:
Php curl simulates login with a cookie, but some websites still have a verification code. How can this problem be solved?
LZ has not figured out the meaning of the Verification Code. Can I skip the verification code? The verification code is used to prevent robots and other simulated manual operations. Of course, there are some verification code identification tools on the Internet, but all of them can only recognize some clear and simple verification codes. The complex verification code still requires manual operation.
- Submit a simple verification code after ocr
- The complex verification code is submitted only after the download is manually identified.
I have previously written a simulated login with a verification code. The idea is as follows:
1. Load the verification code to be logged in and record COOKIES
2. Submit the verification code, user name, password, and COOKIES to the logon page.
3. login successful.
This is a manual verification code.
If you need machine identification, you can't help.