scrapy通过修改配置文件发送状态邮件

EXTENSIONS = {
    'scrapy.extensions.statsmailer.StatsMailer': 500,
}

STATSMAILER_RCPTS = ['1598828268@qq.com']
MAIL_FROM = '1598828268@qq.com'
MAIL_HOST = 'smtp.qq.com'
MAIL_PORT = 465
MAIL_USER = '1598828268@qq.com'
MAIL_PASS = '邮箱授权码'
MAIL_SSL=True
原文地址:https://www.cnblogs.com/c-x-a/p/9923985.html