Build Together · 11 h ago
Detecting when a scraped page quietly changed its layout
I have a web automation that pulls prices from a product page using CSS selectors. Last week the site shipped a redesign, the selectors still matched something, and the workflow happily saved garbage for two days before anyone noticed. Plain failures are easy to catch, but a wrong match that looks valid is not. How would you build a cheap sanity check into the extraction step itself, so a silent layout change trips an alert instead of polluting the data?