old_contents: # -*- coding: utf-8 -*-
  
  # Scrapy settings for gumtree project
  #
  # For simplicity, this file contains only the most important settings by
  # default. All the other settings are documented here:
  #
  #     http://doc.scrapy.org/en/latest/topics/settings.html
  #
  
  BOT_NAME = 'gumtree'
  
  SPIDER_MODULES = ['gumtree.spiders']
  NEWSPIDER_MODULE = 'gumtree.spiders'
  
  # Crawl responsibly by identifying yourself (and your website) on the user-agent
  #USER_AGENT = 'gumtree (+http://www.yourdomain.com)'
  
  USER_AGENT_LIST = [
      'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.36 Safari/535.7',
      'Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:16.0) Gecko/16.0 Firefox/16.0',
      'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.55.3 (KHTML, like Gecko) Version/5.1.3 Safari/534.53.10'
  ]
  DOWNLOADER_MIDDLEWARES = {
           'gumtree.middlewares.RandomUserAgentMiddleware': 400,
           'gumtree.middlewares.ProxyMiddleware': 410,
           'scrapy.contrib.downloadermiddleware.useragent.UserAgentMiddleware': None,
      # Disable compression middleware, so the actual HTML pages are cached
  }
new_contents: # -*- coding: utf-8 -*-
  
  # Scrapy settings for gumtree project
  #
  # For simplicity, this file contains only the most important settings by
  # default. All the other settings are documented here:
  #
  #     http://doc.scrapy.org/en/latest/topics/settings.html
  #
  
  BOT_NAME = 'gumtree'
  
  SPIDER_MODULES = ['gumtree.spiders']
  NEWSPIDER_MODULE = 'gumtree.spiders'
  
  # Crawl responsibly by identifying yourself (and your website) on the user-agent
  # USER_AGENT = 'gumtree (+http://www.yourdomain.com)'
  
  USER_AGENT_LIST = [
      'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.36 Safari/535.7',
      'Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:16.0) Gecko/16.0 Firefox/16.0',
      'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.55.3 (KHTML, like Gecko) Version/5.1.3 Safari/534.53.10'
  ]
  DOWNLOADER_MIDDLEWARES = {
           'gumtree.middlewares.RandomUserAgentMiddleware': 400,
           'gumtree.middlewares.ProxyMiddleware': 410,
           'scrapy.contrib.downloadermiddleware.useragent.UserAgentMiddleware': None,
           # Disable compression middleware, so the actual HTML pages are cached
  }
  
subject: Update settings.py