摘要: import os import threading import re import time from lxml import etree all_img_urls = [] # 图片列表页面的数组 g_lock = threading.Lock() # 初始化一个锁 # 声明一个生产者的类,来不断地获取图片详情页地址,然后添加到 all_img_url列表中 # ... 阅读全文
posted @ 2018-12-20 14:26 Qingqiu_Gu 阅读(236) 评论(0) 推荐(0) 编辑