摘要: 爬取城市名称 import requests from lxml import etree # 1.发送请求获取页面数据 res = requests.get("https://www.aqistudy.cn/historydata/", headers={ 'User-Agent': "Mozil 阅读全文
posted @ 2021-09-28 19:15 ふじわらたくみ 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 爬取豆瓣top250 import requests # 请求库 from bs4 import BeautifulSoup # 解析库 from openpyxl import Workbook import time wb = Workbook() wb1 = wb.create_sheet(' 阅读全文
posted @ 2021-09-28 09:02 ふじわらたくみ 阅读(507) 评论(0) 推荐(0) 编辑