I need a small application or script that can automatically search the publicly-available New York State Courts Electronic Filing system (NYSCEF). The tool must let me filter by case type (e.g., foreclosure, partition), date range, party names, and outcome type such as discontinuance, abandonment or trial. After locating each matching matter, the program should download the full docket and supporting PDFs, then generate a concise plain-language summary explaining why the action was terminated. All results have to be compiled into a single Excel sheet—one row per case—showing docket number, court, parties, filing and termination dates, outcome classification and the generated summary, with hyperlinks to the downloaded files stored locally or in an S3 bucket. Deliverables • Source code (Python preferred, but I’m flexible) with clear setup instructions • A working executable or notebook that performs the search and produces the Google sheets or Excel report • Sample run demonstrating retrieval of foreclosure cases filed in 2017–2018 and voluntarily discontinued by the lender • Brief README describing how to adjust search parameters and rerun the scrape Accuracy of the summaries and stability of the scrape against NYSCEF’s anti-bot measures will be the main acceptance criteria.