Question: 1. a. Figure 2 shows a simple crawler thread. Discuss how crawler works based on it. (6 Marks) procedure CRAWLERTHREAD(frontier) while not frontier.done() do website

1. a. Figure 2 shows a simple crawler thread. Discuss how crawler works based on it. (6 Marks) procedure CRAWLERTHREAD(frontier) while not frontier.done() do website frontier.nextSite () url website.nextURL() if website.permitsCrawl (url) then text retrieveURL (url) storedocument (url, text) for each url in parse (text) do frontier.adduRL (url) end for if endier.releasesite (website) end procedure Figure 2 b. What are the information (in bold) given by this sitemap (Figure 3 ) to the crawler? (4 Marks) Figure 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
