老师您好,我在运行爬虫jobbole时出现了以下警告:
ScrapyDeprecationWarning: Importing from scrapy.xlib.pydispatch is deprecated and will no longer be supported in future Scrapy versions. If you just want to connect signals use the from_crawler class method, otherwise import pydispatch directly if needed. See: https://github.com/scrapy/scrapy/issues/1762
from scrapy.xlib.pydispatch import dispatcher
我去https://github.com/scrapy/scrapy/issues/1762 查看了,也没有弄清解决方案,就计划刷新再运行一次然后截图询问老师,但在没有做任何改动的情况下程序突然就可以成功运行了。
请问老师这是什么情况?网址里提供的又是什么解决方案?
带你彻底掌握Scrapy,用Django+Elasticsearch搭建搜索引擎
了解课程