raise KeyErrorfSpider not found spider_name
The code you provided raises a KeyError exception with a custom error message: "Spider not found: {spider_name}".
This exception is typically raised when a dictionary key is not found. In this case, it seems to be used to indicate that a spider with the given name was not found.
If this error is raised, it means that the spider with the given name does not exist or is not available. You may need to check your code or data to ensure that the spider name is correct and that the spider has been defined or imported properly
原文地址: https://www.cveoy.top/t/topic/ijJO 著作权归作者所有。请勿转载和采集!