Scraping an .aspx website only using bs4 and requests.
Some code that I wrote in the process of learning to handle tricky aspx View States and scrape data succesfully, trying to do it without using Selenium to make it a bit lighter and easier to run. The site was www.bernco.gov , as one of early freelance jobs I've worked on. It involved extracting certain parcel data
Hopefully someone tacklink with similar stuff(View States and .aspx pages with requests) can extract value from the code and get an better idea how to complete his task.
Some additional explanations: __EVENTTARGET - for finding which control caused the postback (next button f.e.) __VIEWSTATE - used for saving previous states of the page, it's needed for it to be placed in 'data' of the request