Python爬虫之Scrapy框架系列(6)——settings.py配置文件的学习

拓展:来仔细研读研读settings.py配置文件!

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

# Scrapy settings for douban project
#
# For simplicity, this file contains only settings considered important or
# commonly used. You can find more settings consulting the documentation:
#
#     https://docs.scrapy.org/en/latest/topics/settings.html
#     https://docs.scrapy.org/en/latest/topics/downloader-middleware.html
#     https://docs.scrapy.org/en/latest/topics/spider-middleware.html

BOT_NAME = 'douban'                     

猜你喜欢

转载自blog.csdn.net/qq_44907926/article/details/128553720