Start a new topic

scrape a aspx site with viewstate in it

Site:

I am trying to scrape an aspx site-https://rajshaladarpan.nic.in/SD1/Home/Public/EmployeeSearch.aspx 


Code:

please find it in the attachment


What i am trying to do:

am trying to mimic the sites behavior by posting formRequest. 

first i have to select By School/Office Selection and click Search.  Then loop thru every district, Block and School and extract the tabel detail. 

but i am passing the formdata filled in to the scrapy_formrequest to mimic the behaviour. But it is not working. 


can you please take a look? thanks for your help in advance.

py
(10.9 KB)
Login to post a comment