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

mac2022-06-30  26

EXTENSIONS = {    'scrapy.extensions.statsmailer.StatsMailer': 500,}STATSMAILER_RCPTS = ['1598828268@qq.com']MAIL_FROM = '1598828268@qq.com'MAIL_HOST = 'smtp.qq.com'MAIL_PORT = 465MAIL_USER = '1598828268@qq.com'MAIL_PASS = '邮箱授权码'MAIL_SSL=True

转载于:https://www.cnblogs.com/c-x-a/p/9923985.html

最新回复(0)