|
@@ -23,11 +23,6 @@ class ZuqiuSpider(scrapy.Spider):
|
|
|
},
|
|
},
|
|
|
# 'LOG_LEVEL': 'DEBUG',
|
|
# 'LOG_LEVEL': 'DEBUG',
|
|
|
# 'LOG_FILE': "./log/zuqiu_{}_{}_{}.log".format(to_day.year, to_day.month, to_day.day),
|
|
# 'LOG_FILE': "./log/zuqiu_{}_{}_{}.log".format(to_day.year, to_day.month, to_day.day),
|
|
|
- # 'RETRY_ENABLED': False,
|
|
|
|
|
- # 'COOKIES_ENABLED': False,
|
|
|
|
|
- # 'DOWNLOAD_TIMEOUT': 1,
|
|
|
|
|
- # 'SCHEDULER_PERSIST': False,
|
|
|
|
|
- # 'SCHEDULER_FLUSH_ON_START': False,
|
|
|
|
|
}
|
|
}
|
|
|
rls = redis.Redis(host=R_HOST, port=R_POST, db=R_DB, password=R_PASSWORD)
|
|
rls = redis.Redis(host=R_HOST, port=R_POST, db=R_DB, password=R_PASSWORD)
|
|
|
|
|
|