scalingexcellence / scrapy-solr

Scrapy pipeline which allows you to store scrapy items in a solr server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

exceptions.ImportError: No module named conf

sant3001 opened this issue · comments

This line is deprecated in Scrapy 1.8.0:

from scrapy.conf import settings

It should be instead:

from scrapy.utils.project import get_project_settings

settings = get_project_settings()

Thanks to https://stackoverflow.com/questions/54717251/scrapydeprecationwarning-module-scrapy-conf-is-deprecated-use-crawler-setti#answer-54717252