用python爬取美国新冠病例数据
第一步:先爬取数据
import requests
url = "https://coronavirus-smartable.p.rapidapi.com/stats/v1/US/"
headers = {
'x-rapidapi-key': "c5a539bd52msh8402fff88e0022fp1d9c15jsn78fcc22b6eab",
'x-rapidapi-host': "coronavirus-smartable.p.rapidapi.com"
}
re.
原创
2021-08-12 22:38:41 ·
668 阅读 ·
0 评论