MCPcopy Create free account
hub / github.com/ZiniuLu/Python-100-Days / main

Function main

Day66-75/code/example05.py:75–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73
74
75def main():
76 ssl._create_default_https_context = ssl._create_unverified_context
77 start_crawl('http://sports.sohu.com/nba_a.shtml',
78 r'<a[^>]+test=a\s[^>]*href=["\'](.*?)["\']',
79 max_depth=2)
80
81
82if __name__ == '__main__':

Callers 1

example05.pyFile · 0.70

Calls 1

start_crawlFunction · 0.70

Tested by

no test coverage detected