1 Read question2 Draft response3 Review notes
Anthropic · Coding
Web Crawler
Must priorityMedium
The questionDiscover and visit pages within a domain boundary.
Executable browser contract: Implement crawl_same_host(start_url, pages). pages maps an absolute URL to the links found on that page. Visit the start URL and every reachable HTTP(S) URL whose hostname matches the start hostname. Resolve relative links, remove URL fragments, avoid duplicate work and cycles, and return URLs in deterministic breadth-first discovery order. Reject a start URL without an HTTP(S) scheme or hostname.
Try a first passNo account required. Nothing you type here is sent or saved.
Loading the Python editor…
No account required · code is not uploaded or saved
Keep your crawler workSave this run and open 12 free Anthropic questions.A free workspace keeps this code and your progress. Upgrade only when you want every Anthropic question and contextual AI review.
Free needs no card. Premium is then $49/month; cancel anytime. Secure checkout follows account creation.