# -*- coding: utf-8 -*-

# Scrapy settings for weixin 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 = 'weixin'

SPIDER_MODULES = ['weixin.spiders']
NEWSPIDER_MODULE = 'weixin.spiders'
ITEM_PIPELINES = ['weixin.pipelines.WeixinPipeline']

# Crawl responsibly by identifying yourself (and your website) on the user-agent
USER_AGENT = 'http://weixin.sogou.com/'
DOWNLOAD_TIMEOUT = 15

LOG_FILE = '/var/log/scrapy.log'
