an automated python crawler targeting utsa’s bluebook web application to extract historical course evaluations and teaching records for rateutsa.


asp.net state handling

bluebook runs on legacy asp.net web forms. instead of heavy browser emulation, the crawler directly mimics postback payloads based on patterns from trickster.dev

requests pass through sequential state machine transitions carrying forward __VIEWSTATE, __VIEWSTATEGENERATOR, and __EVENTVALIDATION, injecting them into subsequent post requests.

server postbacks trigger via __EVENTTARGET
e.g. ctl00$MainContentSearchQuery$searchCriteriaEntry$SearchBtn for searches and ctl00$MainContent$mainContent1$CourseTermSelectRBL$2 for past courses.

broadcasting 20 empty tracking keys MainContentAccordion_Pane_{i}_content$surveyCount alongside -1 client state to prevent asp.net ajax validation exceptions when querying past courses.

execution

scrapes CourseSubjectCombo_OptionList on landing to map subject codes (CS, MAT, BIO) to their 1-based dropdown indices.

accepts a target semester and compares chronological rank tuples (year, season_rank). because results per subject sort newest-first, pagination halts immediately once rows drop below the target term.

pagination steps through past course data on each subject and writes raw section data to a .csv