KeyError: 'LanleicaipiaoItem does not support field: qih_ao'
时间: 2024-05-29 19:12:09 浏览: 70
qih.rar_七号信令_信令_花钱
This error is caused when trying to access a field in a Scrapy item that does not exist. In this case, it seems that the field "qih_ao" is not defined in the "LanleicaipiaoItem" item.
To fix this error, you need to make sure that the field "qih_ao" is defined in your item class. You can define it by adding the following line to your "LanleicaipiaoItem" class:
qih_ao = scrapy.Field()
Make sure to replace "qih_ao" with the actual name of the field you want to define. Once you have defined the field, you should be able to access it without getting the KeyError.
阅读全文