Question: Write a recursive function crawl() that takes as input: a URL 'http://reed.cs.depaul.edu/lperkovic/one.html' (as a string) and 2 non-negative integers. function should visit every web page
Write a recursive function crawl() that takes as input: a URL 'http://reed.cs.depaul.edu/lperkovic/one.html' (as a string) and 2 non-negative integers. function should visit every web page reachable from the starting URL web page in depth clicks or less, and print each web page's URL.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
