This question evaluates a candidate's ability to implement a concurrent web crawler, covering concurrency control, URL normalization and deduplication, HTTP handling, HTML parsing, and result serialization.
Implement a small crawler in Python for a single target website.
Requirements:
Discuss the main edge cases and how you would improve this into a production-grade crawler.