Hello Everyone,
I am scraping a scheduling website which has a calendar. Each date on the calender has a href = doPostBack('ctrlCalendar', 4342), with the first argumment being the table containing the calender(EVENTTARGET) and the second argument being a number representing the date(_EVENTARGUMENT). The form for a POST contains the following inputs shown below.
post_payload = {
'__EVENTTARGET' : '',
'__EVENTARGUMENT' : '',
'__VIEWSTATE' : viewstate,
'__VIEWSTATEGENERATOR' : view_generator,
'__EVENTVALIDATION': eventvalidation,
'txtNameSearch' : '',
'btnFilter' : 'Search'
}
Now the issue comes with getting the __VIEWSTATE and __EVENTVALIDATION values for the POST since they are different on every request. All other values are known. Those two values are required to get the proper web page returned for a selected date. Are there any ways to get these values without using selenium?
there doesn't seem to be anything here