python简单的多线程爬取import threading

日期:2021-02-05 14:14 来源:原创 作者:小霍 点击:

for page in range(1,3):
    url = 'http://www.zizhijie.com/news/p{}.html'.format(page)
    t = threading.Thread(target=smoke)
    t.start()
t = threading.Thread(target=smoke)
t.start()





标签:

Copyright © 2019.Company name All rights reserved. 冀ICP备14010059号-4 网站地图