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

Function main

Day66-75/code/example01.py:76–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

example01.pyFile · 0.70

Calls 1

start_crawlFunction · 0.70

Tested by

no test coverage detected