- 博客(3)
- 收藏
- 关注
原创 定时爬取下厨房菜谱并邮件发送
import requestsimport smtplibimport scheduleimport timefrom bs4 import BeautifulSoupfrom email.mime.text import MIMETextfrom email.header import Headeraccount = “"#替换发送邮箱#input(‘请输入你的邮箱:’)password = “邮箱授权码”#input(‘请输入你的密码:’)receiver = "”#替换接收邮箱
2020-10-20 10:14:05
314
原创 圆通快递查询
#圆通快递查询,样例号:DD2724163909import time,re,jsonfrom bs4 import BeautifulSoupimport requestsimport timeword = input(“请输入你要查询的单号:”)headers = {“User-Agent”: “Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.12
2020-10-19 18:34:39
816
1
原创 安装gutenberg报错,尝试在官网下载文件安装到指定文件夹还是没用
D:\Python实践>pip install gutenbergCollecting gutenberg Using cached Gutenberg-0.8.1.tar.gz (19 kB)Collecting SPARQLWrapper>=1.8.2 Using cached SPARQLWrapper-1.8.5-py3-none-any.whl (26 kB)Collecting bsddb3>=6.1.0 Using cached bsddb3-6.2.7.tar.gz (43
2020-08-07 18:38:36
387
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人