AttributeError: object has no attribute

今天写的程序运行时提示:AttributeError: 'BaiduImageSpider' object has no attribute 'url',让我百思不得其解。

最后发现是我把__init__写成了__int__,DeBug也没发现这个错误。