In the crawl system of asp.net (heard that this technology is out of date, but the system should be written inside, might need some new technology, asp.net concrete has no effect is unknown, I also don't know much about)
System started there is a need to log in, I was through the browser after logging in, took the cookie, developer tools in subsequent headers, then
Through requests. The get or post (data is empty dictionary) can obtain information on the first page, and then on the basis of the first page, for the following:
Values [' __EVENTTARGET]='$ContentPlaceHolder1 ctl00 $GridView1'
Values [' __EVENTARGUMENT]='$2 Page
Values [' __LASTFOCUS]=soup. Select (' # __LASTFOCUS) [0]. Attrs [' value ']
Values [' __VIEWSTATE]=soup. Select (' # __VIEWSTATE) [0]. Attrs [' value ']
Values [' __VIEWSTATEENCRYPTED]=soup. Select (' # __VIEWSTATEENCRYPTED) [0]. Attrs [' value ']
Values [' __VIEWSTATEGENERATOR]=soup. Select (' # __VIEWSTATEGENERATOR) [0]. Attrs [' value ']
Values [' __EVENTVALIDATION]=soup. Select (' # __EVENTVALIDATION) [0]. Attrs [' value ']
(mid-term reference some of the net post, from the first Page HTML parsing some parameter values, such as feeling can obtain are obtained, which values [' __EVENTARGUMENT]='$2 Page, is according to the developers of the switching rule analysis tools to see Page, I just try to take the second Page first, so no circulation, first)
These parameters as the second page of the post data, still can obtain the result of the first page (column some parameters like casually here, is to get the first page), anyhow is unable to realize data information behind the page grab,
Is there prawns help, advice,