← Back to companies
[ OK ] Loaded —
[ INFO ]
$ cd
$ ls -lt
01
02
03
04
05
$ ls -lt
01
02
03
04
05
user@intervues:~/$
Build a web crawler starting from a given URL. Find all URLs reachable from the start that belong to the same hostname.
Requirements:
urls dictionary to get links from a page (simulates HtmlParser.getUrls)Example:
Source: Anthropic Phone Screen
Related: Web Crawler - Concurrent Version - harder variant using threading/asyncio