摘要: import requests import os from lxml import etree url = 'https://www.pearvideo.com/category_5' headers = { "User-Agent":'Mozilla/5.0 (Windows NT 6.1; W 阅读全文
posted @ 2021-02-23 21:02 未来全栈攻城狮 阅读(97) 评论(0) 推荐(0) 编辑
摘要: import requests import os from multiprocessing.dummy import Pool from lxml import etree 原则: 线程池解决的是阻塞和耗时的操作 url = 'https://www.pearvideo.com/category_ 阅读全文
posted @ 2021-02-23 20:58 未来全栈攻城狮 阅读(69) 评论(0) 推荐(0) 编辑