摘要: # # 导入需要的爬虫库。import urllib.request# # 请求百度的连接。# file = urllib.request.urlopen('http://www.baidu.com')# # 读取返回的数据。# data = file.read()# # 将百度返回的数据写入到文件 阅读全文
posted @ 2020-11-30 19:54 月为暮 阅读(103) 评论(0) 推荐(0) 编辑