#coding:utf-8
import requests
import re
import xlwt
headers = {
'Accept-Encoding':'gzip, deflate, br',
'Accept-Language': 'zh-CN,zh;q=0.9,en;q=0.8',
'Content-Type': 'application/x-www-form-urlencoded',
'Host': 'api.inews.qq.com',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36'
}
#腾讯新闻实时疫情统计
link = 'https://api.inews.qq.com/newsqa/v1/automation/foreign/country/ranklist'
r = requests.get(link,headers=headers)
r = r.text
# r = '{"ret":0,"info":"","data":[{"name":"美国","continent":"北美洲","date":"04.03","isUpdated":false,"confirmAdd":27807,"confirmAddCut":0,"confirm":245070,"suspect":0,"dead":5949,"heal":9090,"nowConfirm":230031,"confirmCompare":27807,"nowConfirmCompare":26629,"healCompare":380,"deadCompare":798},{"name":"意大利","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":4668,"confirmAddCut":0,"confirm":115242,"suspect":0,"dead":13915,"heal":18278,"nowConfirm":83049,"confirmCompare":4668,"nowConfirmCompare":2477,"healCompare":1431,"deadCompare":760},{"name":"西班牙","continent":"欧洲","date":"04.03","isUpdated":true,"confirmAdd":7348,"confirmAddCut":0,"confirm":112065,"suspect":0,"dead":10348,"heal":26743,"nowConfirm":74974,"confirmCompare":1827,"nowConfirmCompare":1482,"healCompare":0,"deadCompare":345},{"name":"德国","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":3066,"confirmAddCut":0,"confirm":84794,"suspect":0,"dead":1107,"heal":22440,"nowConfirm":61247,"confirmCompare":3066,"nowConfirmCompare":-309,"healCompare":3265,"deadCompare":110},{"name":"法国","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":2122,"confirmAddCut":0,"confirm":59929,"suspect":0,"dead":5398,"heal":12548,"nowConfirm":41983,"confirmCompare":2122,"nowConfirmCompare":-726,"healCompare":1493,"deadCompare":1355},{"name":"伊朗","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":50468,"suspect":0,"dead":3160,"heal":16711,"nowConfirm":30597,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"英国","continent":"欧洲","date":"04.03","isUpdated":true,"confirmAdd":3674,"confirmAddCut":0,"confirm":34167,"suspect":0,"dead":2926,"heal":191,"nowConfirm":31050,"confirmCompare":44,"nowConfirmCompare":44,"healCompare":0,"deadCompare":0},{"name":"瑞士","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":560,"confirmAddCut":0,"confirm":18827,"suspect":0,"dead":536,"heal":4013,"nowConfirm":14278,"confirmCompare":560,"nowConfirmCompare":529,"healCompare":0,"deadCompare":31},{"name":"土耳其","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":2456,"confirmAddCut":0,"confirm":18135,"suspect":0,"dead":356,"heal":415,"nowConfirm":17364,"confirmCompare":2456,"nowConfirmCompare":2295,"healCompare":82,"deadCompare":79},{"name":"比利时","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":15348,"suspect":0,"dead":1011,"heal":2495,"nowConfirm":11842,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"荷兰","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":9,"confirmAddCut":0,"confirm":14788,"suspect":0,"dead":1341,"heal":260,"nowConfirm":13187,"confirmCompare":9,"nowConfirmCompare":9,"healCompare":0,"deadCompare":0},{"name":"加拿大","continent":"北美洲","date":"04.03","isUpdated":false,"confirmAdd":1553,"confirmAddCut":0,"confirm":11284,"suspect":0,"dead":139,"heal":1750,"nowConfirm":9395,"confirmCompare":1553,"nowConfirmCompare":1302,"healCompare":224,"deadCompare":27},{"name":"奥地利","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":133,"confirmAddCut":0,"confirm":11129,"suspect":0,"dead":158,"heal":1749,"nowConfirm":9222,"confirmCompare":133,"nowConfirmCompare":133,"healCompare":0,"deadCompare":0},{"name":"韩国","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":86,"confirmAddCut":0,"confirm":10062,"suspect":0,"dead":174,"heal":6021,"nowConfirm":3867,"confirmCompare":86,"nowConfirmCompare":-112,"healCompare":193,"deadCompare":5},{"name":"葡萄牙","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":9034,"suspect":0,"dead":209,"heal":68,"nowConfirm":8757,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"巴西","continent":"南美洲","date":"04.03","isUpdated":false,"confirmAdd":1033,"confirmAddCut":0,"confirm":8044,"suspect":0,"dead":324,"heal":127,"nowConfirm":7593,"confirmCompare":1033,"nowConfirmCompare":959,"healCompare":0,"deadCompare":74},{"name":"以色列","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":497,"confirmAddCut":0,"confirm":6857,"suspect":0,"dead":36,"heal":338,"nowConfirm":6483,"confirmCompare":497,"nowConfirmCompare":445,"healCompare":49,"deadCompare":3},{"name":"瑞典","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":102,"confirmAddCut":0,"confirm":5568,"suspect":0,"dead":308,"heal":103,"nowConfirm":5157,"confirmCompare":102,"nowConfirmCompare":76,"healCompare":0,"deadCompare":26},{"name":"挪威","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":28,"confirmAddCut":0,"confirm":5147,"suspect":0,"dead":50,"heal":32,"nowConfirm":5065,"confirmCompare":28,"nowConfirmCompare":25,"healCompare":0,"deadCompare":3},{"name":"澳大利亚","continent":"大洋洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":5116,"suspect":0,"dead":24,"heal":520,"nowConfirm":4572,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"捷克","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":254,"confirmAddCut":0,"confirm":3858,"suspect":0,"dead":44,"heal":67,"nowConfirm":3747,"confirmCompare":254,"nowConfirmCompare":244,"healCompare":6,"deadCompare":4},{"name":"爱尔兰","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":402,"confirmAddCut":0,"confirm":3849,"suspect":0,"dead":98,"heal":5,"nowConfirm":3746,"confirmCompare":402,"nowConfirmCompare":389,"healCompare":0,"deadCompare":13},{"name":"丹麦","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":31,"confirmAddCut":0,"confirm":3573,"suspect":0,"dead":123,"heal":1172,"nowConfirm":2278,"confirmCompare":31,"nowConfirmCompare":31,"healCompare":0,"deadCompare":0},{"name":"俄罗斯","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":3548,"suspect":0,"dead":30,"heal":235,"nowConfirm":3283,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"智利","continent":"南美洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":3404,"suspect":0,"dead":18,"heal":335,"nowConfirm":3051,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"厄瓜多尔","continent":"南美洲","date":"04.03","isUpdated":false,"confirmAdd":405,"confirmAddCut":0,"confirm":3163,"suspect":0,"dead":120,"heal":65,"nowConfirm":2978,"confirmCompare":405,"nowConfirmCompare":376,"healCompare":7,"deadCompare":22},{"name":"马来西亚","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":3116,"suspect":0,"dead":50,"heal":767,"nowConfirm":2299,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"波兰","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":254,"confirmAddCut":0,"confirm":2946,"suspect":0,"dead":57,"heal":56,"nowConfirm":2833,"confirmCompare":254,"nowConfirmCompare":248,"healCompare":0,"deadCompare":6},{"name":"罗马尼亚","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":2738,"suspect":0,"dead":115,"heal":267,"nowConfirm":2356,"confirmCompare":0,"nowConfirmCompare":-21,"healCompare":0,"deadCompare":21},{"name":"菲律宾","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":2633,"suspect":0,"dead":107,"heal":51,"nowConfirm":2475,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"印度","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":511,"confirmAddCut":0,"confirm":2543,"suspect":0,"dead":72,"heal":191,"nowConfirm":2280,"confirmCompare":511,"nowConfirmCompare":456,"healCompare":41,"deadCompare":14},{"name":"日本本土","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":111,"confirmAddCut":0,"confirm":2495,"suspect":0,"dead":62,"heal":472,"nowConfirm":1961,"confirmCompare":111,"nowConfirmCompare":106,"healCompare":0,"deadCompare":5},{"name":"卢森堡","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":168,"confirmAddCut":0,"confirm":2487,"suspect":0,"dead":30,"heal":80,"nowConfirm":2377,"confirmCompare":168,"nowConfirmCompare":167,"healCompare":0,"deadCompare":1},{"name":"巴基斯坦","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":35,"confirmAddCut":0,"confirm":2421,"suspect":0,"dead":34,"heal":125,"nowConfirm":2262,"confirmCompare":35,"nowConfirmCompare":15,"healCompare":18,"deadCompare":2},{"name":"沙特阿拉伯","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":1885,"suspect":0,"dead":21,"heal":328,"nowConfirm":1536,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"泰国","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":1875,"suspect":0,"dead":15,"heal":505,"nowConfirm":1355,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"印度尼西亚","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":1790,"suspect":0,"dead":170,"heal":112,"nowConfirm":1508,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"希腊","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":129,"confirmAddCut":0,"confirm":1544,"suspect":0,"dead":53,"heal":61,"nowConfirm":1430,"confirmCompare":129,"nowConfirmCompare":119,"healCompare":9,"deadCompare":1},{"name":"芬兰","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":1518,"suspect":0,"dead":19,"heal":300,"nowConfirm":1199,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"墨西哥","continent":"北美洲","date":"04.03","isUpdated":false,"confirmAdd":132,"confirmAddCut":0,"confirm":1510,"suspect":0,"dead":50,"heal":35,"nowConfirm":1425,"confirmCompare":132,"nowConfirmCompare":119,"healCompare":0,"deadCompare":13},{"name":"巴拿马","continent":"北美洲","date":"04.03","isUpdated":false,"confirmAdd":158,"confirmAddCut":0,"confirm":1475,"suspect":0,"dead":37,"heal":9,"nowConfirm":1429,"confirmCompare":158,"nowConfirmCompare":153,"healCompare":0,"deadCompare":5},{"name":"南非","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":82,"confirmAddCut":0,"confirm":1462,"suspect":0,"dead":5,"heal":50,"nowConfirm":1407,"confirmCompare":82,"nowConfirmCompare":82,"healCompare":0,"deadCompare":0},{"name":"秘鲁","continent":"南美洲","date":"04.03","isUpdated":false,"confirmAdd":91,"confirmAddCut":0,"confirm":1414,"suspect":0,"dead":55,"heal":537,"nowConfirm":822,"confirmCompare":91,"nowConfirmCompare":-60,"healCompare":143,"deadCompare":8},{"name":"多米尼加","continent":"北美洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":1380,"suspect":0,"dead":60,"heal":16,"nowConfirm":1304,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"冰岛","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":1319,"suspect":0,"dead":4,"heal":284,"nowConfirm":1031,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"阿根廷","continent":"南美洲","date":"04.03","isUpdated":false,"confirmAdd":132,"confirmAddCut":0,"confirm":1265,"suspect":0,"dead":36,"heal":256,"nowConfirm":973,"confirmCompare":132,"nowConfirmCompare":122,"healCompare":8,"deadCompare":2},{"name":"塞尔维亚","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":1171,"suspect":0,"dead":31,"heal":0,"nowConfirm":1140,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"哥伦比亚","continent":"南美洲","date":"04.03","isUpdated":false,"confirmAdd":96,"confirmAddCut":0,"confirm":1161,"suspect":0,"dead":19,"heal":55,"nowConfirm":1087,"confirmCompare":96,"nowConfirmCompare":78,"healCompare":16,"deadCompare":2},{"name":"新加坡","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":1049,"suspect":0,"dead":4,"heal":266,"nowConfirm":779,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"阿联酋","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":210,"confirmAddCut":0,"confirm":1024,"suspect":0,"dead":8,"heal":96,"nowConfirm":920,"confirmCompare":210,"nowConfirmCompare":175,"healCompare":35,"deadCompare":0},{"name":"克罗地亚","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":1011,"suspect":0,"dead":7,"heal":88,"nowConfirm":916,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"阿尔及利亚","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":139,"confirmAddCut":0,"confirm":986,"suspect":0,"dead":86,"heal":61,"nowConfirm":839,"confirmCompare":139,"nowConfirmCompare":111,"healCompare":0,"deadCompare":28},{"name":"卡塔尔","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":114,"confirmAddCut":0,"confirm":949,"suspect":0,"dead":3,"heal":72,"nowConfirm":874,"confirmCompare":114,"nowConfirmCompare":112,"healCompare":1,"deadCompare":1},{"name":"斯洛文尼亚","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":897,"suspect":0,"dead":17,"heal":70,"nowConfirm":810,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"乌克兰","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":93,"confirmAddCut":0,"confirm":897,"suspect":0,"dead":22,"heal":19,"nowConfirm":856,"confirmCompare":93,"nowConfirmCompare":85,"healCompare":6,"deadCompare":2},{"name":"新西兰","continent":"大洋洲","date":"04.03","isUpdated":false,"confirmAdd":71,"confirmAddCut":0,"confirm":868,"suspect":0,"dead":1,"heal":103,"nowConfirm":764,"confirmCompare":71,"nowConfirmCompare":60,"healCompare":11,"deadCompare":0},{"name":"埃及","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":86,"confirmAddCut":0,"confirm":865,"suspect":0,"dead":58,"heal":201,"nowConfirm":606,"confirmCompare":86,"nowConfirmCompare":58,"healCompare":22,"deadCompare":6},{"name":"爱沙尼亚","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":858,"suspect":0,"dead":11,"heal":45,"nowConfirm":802,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"伊拉克","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":772,"suspect":0,"dead":54,"heal":202,"nowConfirm":516,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"钻石号邮轮","continent":"其他","date":"03.31","isUpdated":true,"confirmAdd":0,"confirmAddCut":0,"confirm":712,"suspect":0,"dead":11,"heal":603,"nowConfirm":98,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"摩洛哥","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":32,"confirmAddCut":0,"confirm":708,"suspect":0,"dead":44,"heal":31,"nowConfirm":633,"confirmCompare":32,"nowConfirmCompare":26,"healCompare":2,"deadCompare":4},{"name":"亚美尼亚","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":663,"suspect":0,"dead":7,"heal":33,"nowConfirm":623,"confirmCompare":0,"nowConfirmCompare":-2,"healCompare":0,"deadCompare":2},{"name":"立陶宛","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":649,"suspect":0,"dead":9,"heal":7,"nowConfirm":633,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"巴林","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":8,"confirmAddCut":0,"confirm":643,"suspect":0,"dead":4,"heal":381,"nowConfirm":258,"confirmCompare":8,"nowConfirmCompare":-32,"healCompare":40,"deadCompare":0},{"name":"匈牙利","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":585,"suspect":0,"dead":21,"heal":42,"nowConfirm":522,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"波黑","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":15,"confirmAddCut":0,"confirm":533,"suspect":0,"dead":16,"heal":20,"nowConfirm":497,"confirmCompare":15,"nowConfirmCompare":14,"healCompare":0,"deadCompare":1},{"name":"摩尔多瓦","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":505,"suspect":0,"dead":6,"heal":23,"nowConfirm":476,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"黎巴嫩","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":494,"suspect":0,"dead":16,"heal":46,"nowConfirm":432,"confirmCompare":0,"nowConfirmCompare":-3,"healCompare":3,"deadCompare":0},{"name":"拉脱维亚","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":458,"suspect":0,"dead":0,"heal":31,"nowConfirm":427,"confirmCompare":0,"nowConfirmCompare":-30,"healCompare":30,"deadCompare":0},{"name":"保加利亚","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":457,"suspect":0,"dead":10,"heal":25,"nowConfirm":422,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"突尼斯","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":32,"confirmAddCut":0,"confirm":455,"suspect":0,"dead":14,"heal":5,"nowConfirm":436,"confirmCompare":32,"nowConfirmCompare":30,"healCompare":0,"deadCompare":2},{"name":"哈萨克斯坦","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":12,"confirmAddCut":0,"confirm":435,"suspect":0,"dead":3,"heal":27,"nowConfirm":405,"confirmCompare":12,"nowConfirmCompare":12,"healCompare":0,"deadCompare":0},{"name":"安道尔","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":428,"suspect":0,"dead":15,"heal":10,"nowConfirm":403,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"斯洛伐克","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":426,"suspect":0,"dead":1,"heal":5,"nowConfirm":420,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"阿塞拜疆","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":400,"suspect":0,"dead":5,"heal":26,"nowConfirm":369,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"哥斯达黎加","continent":"北美洲","date":"04.03","isUpdated":false,"confirmAdd":21,"confirmAddCut":0,"confirm":396,"suspect":0,"dead":2,"heal":6,"nowConfirm":388,"confirmCompare":21,"nowConfirmCompare":19,"healCompare":2,"deadCompare":0},{"name":"北马其顿","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":384,"suspect":0,"dead":11,"heal":17,"nowConfirm":356,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"乌拉圭","continent":"南美洲","date":"04.03","isUpdated":false,"confirmAdd":19,"confirmAddCut":0,"confirm":369,"suspect":0,"dead":4,"heal":68,"nowConfirm":297,"confirmCompare":19,"nowConfirmCompare":13,"healCompare":6,"deadCompare":0},{"name":"塞浦路斯","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":36,"confirmAddCut":0,"confirm":356,"suspect":0,"dead":10,"heal":28,"nowConfirm":318,"confirmCompare":36,"nowConfirmCompare":35,"healCompare":0,"deadCompare":1},{"name":"科威特","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":342,"suspect":0,"dead":0,"heal":81,"nowConfirm":261,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"喀麦隆","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":22,"confirmAddCut":0,"confirm":306,"suspect":0,"dead":7,"heal":10,"nowConfirm":289,"confirmCompare":22,"nowConfirmCompare":22,"healCompare":0,"deadCompare":0},{"name":"白俄罗斯","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":304,"suspect":0,"dead":4,"heal":53,"nowConfirm":247,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"约旦","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":21,"confirmAddCut":0,"confirm":299,"suspect":0,"dead":5,"heal":45,"nowConfirm":249,"confirmCompare":21,"nowConfirmCompare":12,"healCompare":9,"deadCompare":0},{"name":"布基纳法索","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":288,"suspect":0,"dead":16,"heal":50,"nowConfirm":222,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"波多黎各","continent":"北美洲","date":"04.01","isUpdated":false,"confirmAdd":222,"confirmAddCut":0,"confirm":286,"suspect":0,"dead":11,"heal":0,"nowConfirm":275,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"阿尔巴尼亚","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":277,"suspect":0,"dead":16,"heal":76,"nowConfirm":185,"confirmCompare":0,"nowConfirmCompare":-9,"healCompare":9,"deadCompare":0},{"name":"阿富汗","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":34,"confirmAddCut":0,"confirm":273,"suspect":0,"dead":6,"heal":10,"nowConfirm":257,"confirmCompare":34,"nowConfirmCompare":32,"healCompare":0,"deadCompare":2},{"name":"圣马力诺","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":9,"confirmAddCut":0,"confirm":245,"suspect":0,"dead":30,"heal":21,"nowConfirm":194,"confirmCompare":9,"nowConfirmCompare":-1,"healCompare":8,"deadCompare":2},{"name":"越南","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":6,"confirmAddCut":0,"confirm":233,"suspect":0,"dead":0,"heal":75,"nowConfirm":158,"confirmCompare":6,"nowConfirmCompare":6,"healCompare":0,"deadCompare":0},{"name":"古巴","continent":"北美洲","date":"04.03","isUpdated":false,"confirmAdd":21,"confirmAddCut":0,"confirm":233,"suspect":0,"dead":6,"heal":13,"nowConfirm":214,"confirmCompare":21,"nowConfirmCompare":20,"healCompare":1,"deadCompare":0},{"name":"阿曼","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":231,"suspect":0,"dead":1,"heal":57,"nowConfirm":173,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"洪都拉斯","continent":"北美洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":219,"suspect":0,"dead":14,"heal":3,"nowConfirm":202,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"乌兹别克斯坦","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":15,"confirmAddCut":0,"confirm":205,"suspect":0,"dead":2,"heal":25,"nowConfirm":178,"confirmCompare":15,"nowConfirmCompare":15,"healCompare":0,"deadCompare":0},{"name":"加纳","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":204,"suspect":0,"dead":5,"heal":31,"nowConfirm":168,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"马耳他","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":196,"suspect":0,"dead":0,"heal":2,"nowConfirm":194,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"塞内加尔","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":195,"suspect":0,"dead":1,"heal":55,"nowConfirm":139,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"科特迪瓦","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":4,"confirmAddCut":0,"confirm":194,"suspect":0,"dead":1,"heal":15,"nowConfirm":178,"confirmCompare":4,"nowConfirmCompare":-2,"healCompare":6,"deadCompare":0},{"name":"尼日利亚","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":10,"confirmAddCut":0,"confirm":184,"suspect":0,"dead":2,"heal":20,"nowConfirm":162,"confirmCompare":10,"nowConfirmCompare":-1,"healCompare":11,"deadCompare":0},{"name":"毛里求斯","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":8,"confirmAddCut":0,"confirm":169,"suspect":0,"dead":7,"heal":0,"nowConfirm":162,"confirmCompare":8,"nowConfirmCompare":8,"healCompare":0,"deadCompare":0},{"name":"巴勒斯坦","continent":"亚洲","date":"04.02","isUpdated":true,"confirmAdd":21,"confirmAddCut":0,"confirm":155,"suspect":0,"dead":1,"heal":18,"nowConfirm":136,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"斯里兰卡","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":151,"suspect":0,"dead":4,"heal":21,"nowConfirm":126,"confirmCompare":0,"nowConfirmCompare":-1,"healCompare":0,"deadCompare":1},{"name":"委内瑞拉","continent":"南美洲","date":"04.03","isUpdated":false,"confirmAdd":2,"confirmAddCut":0,"confirm":146,"suspect":0,"dead":5,"heal":43,"nowConfirm":98,"confirmCompare":2,"nowConfirmCompare":0,"healCompare":0,"deadCompare":2},{"name":"黑山","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":4,"confirmAddCut":0,"confirm":144,"suspect":0,"dead":2,"heal":0,"nowConfirm":142,"confirmCompare":4,"nowConfirmCompare":4,"healCompare":0,"deadCompare":0},{"name":"刚果(金)","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":11,"confirmAddCut":0,"confirm":134,"suspect":0,"dead":13,"heal":3,"nowConfirm":118,"confirmCompare":11,"nowConfirmCompare":9,"healCompare":0,"deadCompare":2},{"name":"格鲁吉亚","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":4,"confirmAddCut":0,"confirm":134,"suspect":0,"dead":0,"heal":26,"nowConfirm":108,"confirmCompare":4,"nowConfirmCompare":4,"healCompare":0,"deadCompare":0},{"name":"文莱","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":133,"suspect":0,"dead":1,"heal":56,"nowConfirm":76,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"玻利维亚","continent":"南美洲","date":"04.03","isUpdated":false,"confirmAdd":9,"confirmAddCut":0,"confirm":132,"suspect":0,"dead":9,"heal":1,"nowConfirm":122,"confirmCompare":9,"nowConfirmCompare":7,"healCompare":0,"deadCompare":2},{"name":"吉尔吉斯斯坦","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":116,"suspect":0,"dead":0,"heal":5,"nowConfirm":111,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"肯尼亚","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":110,"suspect":0,"dead":3,"heal":4,"nowConfirm":103,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"柬埔寨","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":110,"suspect":0,"dead":0,"heal":34,"nowConfirm":76,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"尼日尔","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":24,"confirmAddCut":0,"confirm":98,"suspect":0,"dead":5,"heal":0,"nowConfirm":93,"confirmCompare":24,"nowConfirmCompare":24,"healCompare":0,"deadCompare":0},{"name":"特立尼达和多巴哥","continent":"","date":"04.03","isUpdated":false,"confirmAdd":4,"confirmAddCut":0,"confirm":94,"suspect":0,"dead":5,"heal":1,"nowConfirm":88,"confirmCompare":4,"nowConfirmCompare":4,"healCompare":0,"deadCompare":0},{"name":"巴拉圭","continent":"南美洲","date":"04.03","isUpdated":false,"confirmAdd":15,"confirmAddCut":0,"confirm":92,"suspect":0,"dead":3,"heal":3,"nowConfirm":86,"confirmCompare":15,"nowConfirmCompare":14,"healCompare":1,"deadCompare":0},{"name":"卢旺达","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":2,"confirmAddCut":0,"confirm":84,"suspect":0,"dead":0,"heal":0,"nowConfirm":84,"confirmCompare":2,"nowConfirmCompare":2,"healCompare":0,"deadCompare":0},{"name":"列支敦士登公国","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":3,"confirmAddCut":0,"confirm":75,"suspect":0,"dead":0,"heal":0,"nowConfirm":75,"confirmCompare":3,"nowConfirmCompare":3,"healCompare":0,"deadCompare":0},{"name":"摩纳哥","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":5,"confirmAddCut":0,"confirm":60,"suspect":0,"dead":1,"heal":2,"nowConfirm":57,"confirmCompare":5,"nowConfirmCompare":5,"healCompare":0,"deadCompare":0},{"name":"马达加斯加","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":59,"suspect":0,"dead":0,"heal":0,"nowConfirm":59,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"孟加拉","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":56,"suspect":0,"dead":6,"heal":25,"nowConfirm":25,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"几内亚","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":52,"suspect":0,"dead":0,"heal":0,"nowConfirm":52,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"危地马拉","continent":"北美洲","date":"04.03","isUpdated":false,"confirmAdd":1,"confirmAddCut":0,"confirm":47,"suspect":0,"dead":1,"heal":12,"nowConfirm":34,"confirmCompare":1,"nowConfirmCompare":1,"healCompare":0,"deadCompare":0},{"name":"牙买加","continent":"北美洲","date":"04.03","isUpdated":false,"confirmAdd":3,"confirmAddCut":0,"confirm":47,"suspect":0,"dead":3,"heal":2,"nowConfirm":42,"confirmCompare":3,"nowConfirmCompare":3,"healCompare":0,"deadCompare":0},{"name":"巴巴多斯","continent":"北美洲","date":"04.03","isUpdated":false,"confirmAdd":1,"confirmAddCut":0,"confirm":46,"suspect":0,"dead":0,"heal":0,"nowConfirm":46,"confirmCompare":1,"nowConfirmCompare":1,"healCompare":0,"deadCompare":0},{"name":"乌干达","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":1,"confirmAddCut":0,"confirm":45,"suspect":0,"dead":0,"heal":0,"nowConfirm":45,"confirmCompare":1,"nowConfirmCompare":1,"healCompare":0,"deadCompare":0},{"name":"萨尔瓦多","continent":"北美洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":41,"suspect":0,"dead":2,"heal":0,"nowConfirm":39,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"吉布提","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":40,"suspect":0,"dead":0,"heal":0,"nowConfirm":40,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"多哥","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":3,"confirmAddCut":0,"confirm":39,"suspect":0,"dead":2,"heal":17,"nowConfirm":20,"confirmCompare":3,"nowConfirmCompare":-4,"healCompare":7,"deadCompare":0},{"name":"赞比亚","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":39,"suspect":0,"dead":1,"heal":0,"nowConfirm":38,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"马提尼克岛","continent":"北美洲","date":"03.23","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":37,"suspect":0,"dead":1,"heal":0,"nowConfirm":36,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"马里","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":5,"confirmAddCut":0,"confirm":36,"suspect":0,"dead":3,"heal":0,"nowConfirm":33,"confirmCompare":5,"nowConfirmCompare":5,"healCompare":0,"deadCompare":0},{"name":"埃塞俄比亚","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":29,"suspect":0,"dead":0,"heal":3,"nowConfirm":26,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"巴哈马","continent":"北美洲","date":"04.03","isUpdated":false,"confirmAdd":3,"confirmAddCut":0,"confirm":24,"suspect":0,"dead":1,"heal":1,"nowConfirm":22,"confirmCompare":3,"nowConfirmCompare":3,"healCompare":0,"deadCompare":0},{"name":"厄立特里亚","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":4,"confirmAddCut":0,"confirm":22,"suspect":0,"dead":0,"heal":0,"nowConfirm":22,"confirmCompare":4,"nowConfirmCompare":4,"healCompare":0,"deadCompare":0},{"name":"刚果(布)","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":22,"suspect":0,"dead":2,"heal":2,"nowConfirm":18,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"加蓬","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":3,"confirmAddCut":0,"confirm":21,"suspect":0,"dead":1,"heal":0,"nowConfirm":20,"confirmCompare":3,"nowConfirmCompare":3,"healCompare":0,"deadCompare":0},{"name":"坦桑尼亚","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":20,"suspect":0,"dead":1,"heal":2,"nowConfirm":17,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"马尔代夫","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":19,"suspect":0,"dead":0,"heal":13,"nowConfirm":6,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"圭亚那","continent":"南美洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":19,"suspect":0,"dead":4,"heal":0,"nowConfirm":15,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"海地","continent":"北美洲","date":"04.03","isUpdated":false,"confirmAdd":2,"confirmAddCut":0,"confirm":18,"suspect":0,"dead":0,"heal":1,"nowConfirm":17,"confirmCompare":2,"nowConfirmCompare":2,"healCompare":0,"deadCompare":0},{"name":"叙利亚","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":16,"suspect":0,"dead":2,"heal":0,"nowConfirm":14,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"赤道几内亚","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":15,"suspect":0,"dead":0,"heal":1,"nowConfirm":14,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"纳米比亚","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":14,"suspect":0,"dead":0,"heal":3,"nowConfirm":11,"confirmCompare":0,"nowConfirmCompare":-1,"healCompare":1,"deadCompare":0},{"name":"缅甸","continent":"亚洲","date":"03.30","isUpdated":true,"confirmAdd":6,"confirmAddCut":0,"confirm":14,"suspect":0,"dead":0,"heal":0,"nowConfirm":14,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"蒙古","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":14,"suspect":0,"dead":0,"heal":2,"nowConfirm":12,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"贝宁","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":13,"suspect":0,"dead":0,"heal":1,"nowConfirm":12,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"圣卢西亚","continent":"北美洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":13,"suspect":0,"dead":0,"heal":1,"nowConfirm":12,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"多米尼克","continent":"北美洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":12,"suspect":0,"dead":0,"heal":0,"nowConfirm":12,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"利比亚","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":1,"confirmAddCut":0,"confirm":11,"suspect":0,"dead":1,"heal":0,"nowConfirm":10,"confirmCompare":1,"nowConfirmCompare":0,"healCompare":0,"deadCompare":1},{"name":"莫桑比克","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":10,"suspect":0,"dead":0,"heal":0,"nowConfirm":10,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"苏里南","continent":"南美洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":10,"suspect":0,"dead":0,"heal":0,"nowConfirm":10,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"塞舌尔","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":10,"suspect":0,"dead":0,"heal":0,"nowConfirm":10,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"格林纳达","continent":"北美洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":10,"suspect":0,"dead":0,"heal":0,"nowConfirm":10,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"老挝","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":10,"suspect":0,"dead":0,"heal":0,"nowConfirm":10,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"津巴布韦","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":1,"confirmAddCut":0,"confirm":9,"suspect":0,"dead":1,"heal":0,"nowConfirm":8,"confirmCompare":1,"nowConfirmCompare":1,"healCompare":0,"deadCompare":0},{"name":"圣基茨和尼维斯","continent":"北美洲","date":"04.03","isUpdated":false,"confirmAdd":1,"confirmAddCut":0,"confirm":9,"suspect":0,"dead":0,"heal":0,"nowConfirm":9,"confirmCompare":1,"nowConfirmCompare":1,"healCompare":0,"deadCompare":0},{"name":"几内亚比绍","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":9,"suspect":0,"dead":0,"heal":0,"nowConfirm":9,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"斯威士兰","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":9,"suspect":0,"dead":0,"heal":0,"nowConfirm":9,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"苏丹","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":1,"confirmAddCut":0,"confirm":8,"suspect":0,"dead":2,"heal":2,"nowConfirm":4,"confirmCompare":1,"nowConfirmCompare":1,"healCompare":0,"deadCompare":0},{"name":"安哥拉","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":8,"suspect":0,"dead":2,"heal":1,"nowConfirm":5,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"乍得","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":1,"confirmAddCut":0,"confirm":8,"suspect":0,"dead":0,"heal":0,"nowConfirm":8,"confirmCompare":1,"nowConfirmCompare":1,"healCompare":0,"deadCompare":0},{"name":"梵蒂冈","continent":"欧洲","date":"04.03","isUpdated":false,"confirmAdd":1,"confirmAddCut":0,"confirm":7,"suspect":0,"dead":0,"heal":0,"nowConfirm":7,"confirmCompare":1,"nowConfirmCompare":1,"healCompare":0,"deadCompare":0},{"name":"安提瓜和巴布达","continent":"北美洲","date":"03.28","isUpdated":true,"confirmAdd":6,"confirmAddCut":0,"confirm":7,"suspect":0,"dead":0,"heal":0,"nowConfirm":7,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"斐济","continent":"大洋洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":7,"suspect":0,"dead":0,"heal":0,"nowConfirm":7,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"毛里塔尼亚","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":6,"suspect":0,"dead":1,"heal":2,"nowConfirm":3,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"利比里亚","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":6,"suspect":0,"dead":0,"heal":0,"nowConfirm":6,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"佛得角","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":6,"suspect":0,"dead":1,"heal":0,"nowConfirm":5,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"尼泊尔","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":6,"suspect":0,"dead":0,"heal":1,"nowConfirm":5,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"索马里","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":5,"suspect":0,"dead":0,"heal":1,"nowConfirm":4,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"不丹","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":5,"suspect":0,"dead":0,"heal":1,"nowConfirm":4,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"尼加拉瓜","continent":"北美洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":5,"suspect":0,"dead":1,"heal":0,"nowConfirm":4,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"博茨瓦纳","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":4,"suspect":0,"dead":1,"heal":0,"nowConfirm":3,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"冈比亚","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":4,"suspect":0,"dead":1,"heal":2,"nowConfirm":1,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"布隆迪","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":1,"confirmAddCut":0,"confirm":3,"suspect":0,"dead":0,"heal":0,"nowConfirm":3,"confirmCompare":1,"nowConfirmCompare":1,"healCompare":0,"deadCompare":0},{"name":"伯利兹","continent":"北美洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":3,"suspect":0,"dead":0,"heal":0,"nowConfirm":3,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"马拉维","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":3,"suspect":0,"dead":0,"heal":0,"nowConfirm":3,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"中非共和国","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":3,"suspect":0,"dead":0,"heal":0,"nowConfirm":3,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"圣文森特和格林纳丁斯","continent":"北美洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":2,"suspect":0,"dead":0,"heal":1,"nowConfirm":1,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"塞拉利昂","continent":"非洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":2,"suspect":0,"dead":0,"heal":0,"nowConfirm":2,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"巴布亚新几内亚","continent":"大洋洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":1,"suspect":0,"dead":0,"heal":0,"nowConfirm":1,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0},{"name":"东帝汶","continent":"亚洲","date":"04.03","isUpdated":false,"confirmAdd":0,"confirmAddCut":0,"confirm":1,"suspect":0,"dead":0,"heal":0,"nowConfirm":1,"confirmCompare":0,"nowConfirmCompare":0,"healCompare":0,"deadCompare":0}]}'
title = ["国家",'大陆','日期','新增确诊','累计确诊','治愈','死亡','新增治愈','新增死亡']
get = ['name','continent','date','confirmAdd','confirm','heal','dead','healCompare','deadCompare']
bookwork = xlwt.Workbook()
sheetbook = bookwork.add_sheet('国外')
for i in range(0, len(title)):
sheetbook.write(0, i, title[i])
num = 1
time = re.compile(r'"date":(.*?),', re.I)
time = time.findall(r)
time = time[0].replace('.','-').replace('\"','')
for i in range(0,len(get)):
comment = re.compile(r'"' + get[i] + '":(.*?),', re.I)
m = comment.findall(r)
for n in m:
n = n.replace('\"','').replace('}','')
sheetbook.write(num,i,n)
num = num +1
num = num - len(m)
print('数据更新完成')
bookwork.save(time+'国外数据.xlsx')
# V1 版本开始支持链式调用
#coding = utf-8
from pyecharts import options as opts
from pyecharts.charts import Map
from pyecharts.globals import ThemeType # 主题
from snapshot_selenium import snapshot as driver
from pyecharts.render import make_snapshot
import xlrd
filename = '06-10国内疫情数据.xlsx'
file = xlrd.open_workbook(filename)
sheet = file.sheet_by_name('国内疫情数据')
cityname = sheet.col_values(0) # 获取城市名
number = sheet.col_values(1) # 获取城市现有确诊人数
data = []
for i in range(1, len(cityname)):
list = []
list.append(cityname[i])
list.append(number[i])
data.append(list)
# 设置地图参数
map = (
Map(init_opts=opts.InitOpts(bg_color="#FFFAFA", theme=ThemeType.ESSOS, width=1000))
.add("现存确诊人数", data)
.set_global_opts(
title_opts=opts.TitleOpts(title=filename[0:5] + "国内数据的疫情图"),
visualmap_opts=opts.VisualMapOpts(
is_piecewise=True, # 设置是否为分段显示
# 自定义的每一段的范围,以及每一段的文字,以及每一段的特别的样式。例如:
pieces=[
{"min": 400, "label": '>400人', "color": "#eb2f06"},
{"min": 300, "max": 400, "label": '300-400人', "color": "#FF3030"}, # 不指定 max,表示 max 为无限大(Infinity)。
{"min": 150, "max": 300, "label": '150-300人', "color": "#FF4500"},
{"min": 100, "max": 150, "label": '100-150人', "color": "#FF7F50"},
{"min": 50, "max": 100, "label": '50-100人', "color": "#FFA500"},
{"min": 1, "max": 50, "label": '1-50人', "color": "#FFDEAD"},
],
# 两端的文本,如['High', 'Low']。
range_text=['高', '低'],
),
)
)
make_snapshot(driver, map.render('F:/CODE/爬虫/可视化疫情2/中国疫情人数地图.html'), "F:/CODE/爬虫/可视化疫情2/chinese_map.png")