尝试爬取最新一天的疫情数据 import requests from bs4 import BeautifulSoup import re import json # 1.发送请求,获取疫情首页(数据来源于丁香园) response = requests.get('https://ncov.dxy.cn/ncovh5/view/pneumonia') home_page = response.content.decode() # 2.从疫情首页提取最近一日数据 soup