title: Being able to change the settings while running scrapy from a script
body: <p>I want to <a href="http://doc.scrapy.org/en/latest/topics/practices.html#run-scrapy-from-a-script" rel="nofollow">run scrapy from a single script</a> and I want to get all settings from settings.py but I would like to be able to change some of them:</p>
  
  <pre><code>from scrapy.crawler import CrawlerProcess
  from scrapy.utils.project import get_project_settings
  
  process = CrawlerProcess(get_project_settings())
  
  *### so what im missing here is being able to set or override one or two of the settings###*
  
  
  # 'followall' is the name of one of the spiders of the project.
  process.crawl('testspider', domain='scrapinghub.com')
  process.start() # the script will block here until the crawling is finished
  </code></pre>
  
  <p>I wasn't able to use <a href="http://doc.scrapy.org/en/latest/topics/api.html#scrapy.settings.Settings" rel="nofollow">this</a>. I tried the following:</p>
  
  <pre><code>settings=scrapy.settings.Settings()
  settings.set('RETRY_TIMES',10)
  </code></pre>
  
  <p>but it didn't work.</p>
  
  <p>Note: I'm using the latest version of scrapy.</p>