text: # THE WINTER IS COMING! the old driver will be driving who was a man of the world!
  # -*- coding: utf-8 -*- python 3.6.7, create time is 18-11-30 下午12:23 GMT+8
  
  import logging
  
  # 默认的日志配置
  DEFAULT_LOG_LEVEL = logging.INFO    # 默认等级
  DEFAULT_LOG_FMT = '%(asctime)s %(filename)s[line:%(lineno)d] \
                    %(levelname)s: %(message)s'   # 默认日志格式
  DEFUALT_LOG_DATEFMT = '%Y-%m-%d %H:%M:%S'  # 默认时间格式
  DEFAULT_LOG_FILENAME = 'log.log'    # 默认日志文件名称
  
  SPIDERS, PIPELINES, SPIDER_MIDDLEWARES, DOWNLOADER_MIDDLEWARES = [], [], [], []
  
  # 默认异步线程最大并发数，此参数可以在项目的settings.py中重新设置自动覆盖
  MAX_ASYNC_THREAD_NUMBER = 5
  
  
  ASYNC_TYPE = 'thread'
  
  
  # 设置调度器的内容是否要持久化
  # 量个值：True和False
  # 如果是True，那么就是使用分布式，同时也是基于请求的增量式爬虫
  # 如果是False, 不使用redis队列，会使用python的set存储指纹和请求
  SCHEDULER_PERSIST = False
  
  # redis默认配置,默认为本机的redis
  REDIS_SET_NAME = 'scrapy_plus_fp_set' # fp集合
  REDIS_QUEUE_NAME = 'scrapy_plus_request_queue' # request队列
  REDIS_HOST = '127.0.0.1'
  REDIS_PORT = 6379
  REDIS_DB = 0
  
  
  HEADERS = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36'}
  