A class file was not written. The project may be inconsistent, if so try refreshing this project and building it 翻译: 未写入类文件.项目可能不一致,如果出现这种情况,则尝试刷新此项目并构建它 这是因为使用了系统的关键字,我是在定义一个类,类名为Con的时候出现的 这是因为有些名称在Windows下面都不能创建.注意,不许分大小写.Con,con,CON 都不可以! con是操作
不同磁力链网站网页内容都不同,需要定制 1,并发爬取 并发爬取后,好像一会就被封了 import requests from lxml import etree import re from concurrent.futures import ThreadPoolExecutor def get_mlink(url, headers): """输入某影片磁力链所在的网页,返回该网页中的磁力链""" r = requests.get(url, he