qq_情书与猫_0
2018-10-06 16:14
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "C:\Users\Administrator\douban\douban\spiders\douban_spider.py", line 3, in <module>
from douban.items import DoubanItem
File "C:\Users\Administrator\douban\douban\items.py", line 11, in <module>
class DoubanItem(scrapy.Item):
File "C:\Users\Administrator\douban\douban\items.py", line 15, in DoubanItem
serial_number = scrapy.field()
AttributeError: module 'scrapy' has no attribute 'field'
# name = scrapy.Field() 格式是这样子的那里面有提示呀,你的f没有大写所以意思就是说没有这个属性懂了吧
Python最火爬虫框架Scrapy入门与实践
67418 学习 · 223 问题
相似问题