title: ScrapyDeprecationWarning: Module `scrapy.conf` is deprecated, use `crawler.settings` attribute instead
body: <p>I am using scrapy 1.5 and am programmatically trying to run a scrapy crawler process through a python script. As a part of this, I need to import the crawler settings and override some of its parameters. </p>
  
  <p>I found this import statement does what I need:</p>
  
  <pre><code>from scrapy.conf import settings
  </code></pre>
  
  <p>The problem is, this works, but also produces the following deprecation warning:</p>
  
  <pre><code>ScrapyDeprecationWarning: Module `scrapy.conf` is deprecated, use `crawler.settings` attribute instead
  </code></pre>
  
  <p>So I'm guessing this is for some older version. Following the warning, I tried to access <code>scrapy.crawler.settings</code>, but this does not exist (or, I couldn't find it after some searching).</p>
  
  <p>How can I resolve this warning? </p>