If your scraping pipeline looks like a simple requests.get() followed by regex hunting for price tags, you're not really scraping. You're gambling on fragile selectors that will break silently the moment anyone tweaks the markup or runs an A/B test.
I ditched regex in our Idealista scraper and shifted to extracting JSON-LD data and accessibility roles. The difference? Zero silent failures. When the site changes, your scraper either still works or loudly throws errors you can actually debug.
If you’re still chaining find calls or parsing HTML with brittle regex, you’re doing it wrong. Drop your worst offender in the comments — maybe I can help you swap it out for a more reliable pattern.
#webscraping #automation #devtools #javascript #python #playwright
