scrapyrt
scrapyrt copied to clipboard
Overriding setting with --set from command line doesn't work
trafficstars
In the case we need to override a project setting with:
-s SETTING_NAME=value
from the command line scrapyrt does't really override the settings but the setting from the project file(settings.py) is used .
that is a bug, yeah I can confirm it doesn't work as expected.
Hi, I tested this with the LOG_DIR setting as an example and looks like it does work as expected.
According to the docs, the -s option configures scrapyrt server settings (not scrapy project settings) and that actually worked fine.
Maybe there was a confusion and this is not an issue?