Pergunta de entrevista da empresa Automatiq

How did you handle building a web scraper that was resilient against DOM changes?

Resposta da entrevista

Sigiloso

3 de ago. de 2024

There are a few options but the main thing is you want a system that NOTIFIES you when the scraper breaks- realistically, even a "resilient" scraper is going to break eventually as we cannot know the DOM changes ahead of time (though we can guesstimate and write "defensively" to try to anticipate future DOM changes before they occur).