MCPcopy
hub / github.com/wistbean/learn_python3_spider / download_all_images

Function download_all_images

meizitu.py:80–85  ·  view source on GitHub ↗
(list_page_urls)

Source from the content-addressed store, hash-verified

78
79
80def download_all_images(list_page_urls):
81 # 获取每一个详情妹纸
82 # works = len(list_page_urls)
83 with concurrent.futures.ProcessPoolExecutor(max_workers=5) as exector:
84 for url in list_page_urls:
85 exector.submit(download, url)
86
87
88if __name__ == '__main__':

Callers 1

meizitu.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected