Пример #1
0
def crawl_web(seed):
	tocrawl=[seed]
	crawled=[]
	while tocrawl:
		ayy=tocrawl.pop()
		if page not in crawled:
			union(tocrawl,all_links(get_page(page)))
			crawled.append()
	return crawled
Пример #2
0
def search(list,input):
    list=all_links(page)
    for url in list:
        return url
    else:
        print ("No Match")