06 2022 档案

摘要:最新版本直接pip install scrapy 会把其他支持的组件一起下载 #创建工程 scrapy startproject xxxPro #进入目录 cd xxxPro #指定起始链接,并创建一个子目录spiderName scrapy genspider spiderName www.xxx 阅读全文
posted @ 2022-06-28 20:56 17。 阅读(23) 评论(0) 推荐(0) 编辑
摘要:多线程 import requests from concurrent.futures import ThreadPoolExecutor from lxml import html etree = html.etree def get_list(url): etree = html.etree l 阅读全文
posted @ 2022-06-09 22:52 17。 阅读(30) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示