Scrapy settings work using custom_settings but don't work in settings.py
<p>I have been trying to edit some settings in my Spider but they only seem to work when I override the custom_settings dictionary in my custom Spider.</p>

<pre><code>custom_settings = {
    'DOWNLOAD_DELAY': 1,
    'FEED_URI': 'generalspider.json',
    'FEED_FORMAT': 'json'
}
</code></pre>

<p>When I put them in settings.py they don't seem to work. settings.py was supposed to work for all spiders. Am I missing something?</p>

<p><code>custom_settings</code> has priority over <code>settings.py</code>. So you'll have to remove the variables in <code>custom_settings</code> for the variables in <code>settings.py</code> to work.</p>

<p>Also please check if the class of your spider is derived from other classes (maybe spiders) and those base classes have their own <code>custom_settings</code>.</p>

python scrapy settings