Question: Assignment Add an optional parameter limit with a default of 10 to crawl ( function which is the maximum number of web pages to download

 Assignment Add an optional parameter limit with a default of 10

Assignment Add an optional parameter limit with a default of 10 to crawl ( function which is the maximum number of web pages to download Save files to pages dir using the MDS hash of the page's URL import hashlib filename 'pages/" + hashlib.md5(url.encode().hexdigest()+'html" Only crawl URLs that are in landmark.edu domain (.landmark.edu) Use a regular expression when examining discovered links import re p re.compile(ab*) if p.match(abc'): print("yes") Submit working program to Blackboard

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!