The previous article showed the actual operation of the project
Now let's analyze how the project is completed:
The first step: log in your educational affairs, this is the homepage of the academic affairs we learned http://jw.svtcc.edu.cn/Default2.aspx , after entering, open the Firefox browser for login analysis
Press f12 in Firefox browser to open the developer mode, at this time we can clearly see that the network request below is empty (if there is a network request, please clear)
Wait for us to enter the account number, password, verification code, at this time we log in, and then log in successfully to enter the home page
At this time we can find that there are a post request at the top of which the parameters are:
<span style="color:#cc0000">__VIEWSTATE,TextBox1,TextBox2,TextBox3,RadioButtonList1,Button1</span>
Because bloggers are busy with company projects, they may not have time to post the following code.
Those who are interested can go to: Click to open the link , download the source code (the source code is not completed, only supports querying timetables and results)
At the same time, welcome to add me qq: 864015769 to discuss c # technical issues
Please note when using the source code: Since the address of the cache verification code is written as a static link, please note the modification