MCPcopy Index your code
hub / github.com/Python3WebSpider/ProxyPool / main

Function main

examples/usage.py:27–35  ·  view source on GitHub ↗

main method, entry point :return: none

()

Source from the content-addressed store, hash-verified

25
26
27def main():
28 """
29 main method, entry point
30 :return: none
31 """
32 proxy = get_random_proxy()
33 print('get random proxy', proxy)
34 html = crawl(target_url, proxy)
35 print(html)
36
37
38if __name__ == '__main__':

Callers 1

usage.pyFile · 0.85

Calls 2

get_random_proxyFunction · 0.85
crawlFunction · 0.85

Tested by

no test coverage detected