scrapyrt icon indicating copy to clipboard operation
scrapyrt copied to clipboard

Overriding setting with --set from command line doesn't work

Open aleroot opened this issue 7 years ago • 2 comments
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 .

aleroot avatar Jun 06 '18 15:06 aleroot

that is a bug, yeah I can confirm it doesn't work as expected.

pawelmhm avatar Sep 20 '19 13:09 pawelmhm

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?

fcanobrash avatar Jan 02 '20 15:01 fcanobrash