错误信息:程序包无效.详细信息:“Cannot load extension with file or directory name . Filenames starting with "" are reserved for use by the system.”. 1.找到Chrome安装程序路径,找到对应的插件 image.png 2.把crx后缀名改为rar,解压缩得到文件夹(有错误提示不用理会),选择全部替换即可 image.png 3.打开该文件夹,把里面的"_me
xpath的多线程爬虫 #encoding=utf-8 ''' pool = Pool(4) cpu的核数为4核 results = pool.map(爬取函数,网址列表) ''' from multiprocessing.dummy import Pool as ThreadPool import requests import time def getsource(url): html = requests.get(url) urls = [] for i in range(1,21): n