author

MDPI 爬取 ‘title_link’, ‘author_list’, ‘cited_by’, ‘viewed_by’ Demo 数据保存至CSV文件

MDPI 爬取 ‘title_link’, ‘author_list’, ‘cited_by’, ‘viewed_by’ Demo 数据保存至CSV文件

URL :  https://www.mdpi.com/search?sort=article_citedby&page_no=0&page_count=50&year_from=1996&year_to=2020&journal=cells&view=default Page : Demo : # encoding: utf-8 """ @auth... »

【Python】发送邮件提示“535 Login Fail. Please enter your authorization code ”

问题: 使用python给qq邮箱发送邮件提示“535 Login Fail. Please enter your authorization code ”。QQ邮箱的SMTP服务已开启。 代码如下: #!/usr/bin/python # -*- coding: UTF-8 -*- import smtplib from email.mime.text import MIMEText from ... »

在这里插入图片描述

Altermanager 发送告警报 x509: certificate signed by unknown authority 错误解决

这是alter manager配置默认需要证书,官方config解释: 参考链接:https://prometheus.io/docs/alerting/configuration/ The default SMTP TLS requirement. Note that Go does not support unencrypted connections to remote SMTP endpo... »

获取授权码,解决python发邮件报错:535, b’Login Fail. Please enter your authorization code to login

利用python可以非常方便的实现邮件发送。代码也非常好理解。 思路分三大块: 登陆邮箱 编辑邮件内容 发送 正确的代码实现 import smtplib from email.mime.text import MIMEText # 登陆邮箱 sent=smtplib.SMTP() sent.connect('smtp.qq.com',25) mail_name="sender@qq.com" #... »

微信公众号 提示:Unauthorized API function 问题解决方法

微信公众号 Unauthorized API function 调用api的返回结果如下: 200 OK Connection: keep-alive Date: Wed, 15 Oct 2014 09:00:17 GMT Server: nginx/1.4.4 Content-Type: application/json; encoding=utf-8 Content-Length: 45 { ... »