How do you handle broken selectors when scraping e-commerce sites?

Posted by XxAlucard95xX@reddit | learnprogramming | View on Reddit | 4 comments

I’ve got scrapers set up for like 30 different product pages, and every week at least 3 or 4 of them stop working because the HTML changes. It’s getting super annoying to maintain this stuff. Is there a better way to automate fixing these?