Introduction to the analysis of the target website Login mode
Destination Address: Https://github.com/login
Login method to make analysis: First, using form form to submit information, second, there is Csrf_token, third, is the POST request to send the user name and password, the first GET request for the cookie is required after the successful login, Requesting additional pages is only a cookie that needs to be returned after the first login is successful. Get the tokens and cookies we want with a request sent by get
Code:
To get these two values, proceed to the next send login request:
Second Post method to submit user name password
Code::
After success, return to the login page information.
View personal details page Based on successful post login.
Only a cookie with a successful login will be required here.
Incoming group: 125240963 to get dozens of sets of PDFs Oh!
Log in with a Python script github! How to play if you want to play!