|Re: How to use project settings when calling Scrapy spiders from a python script||Anderson Caco||3/26/13 10:31 AM|
think that your project settings are not being loaded. I made a small test and define SCRAPY_SETTINGS_MODULE didn't work for me, I don't know why. Instead of:
from scrapy.settings import Settings
I use something like
from scrapy.utils.project import get_project_settings as Settings
PS.: Hoffman, is this the recommended way? Also, since this seems to be a common issue related to the example provided in the common pratices, should the docs provide more info about this?
2013/3/25 Scrapy_user <b.hees...@gmail.com>