db = DB()
tag = time.strftime('%Y%m%d%H%M%S',time.localtime(monitor_start))
for case in result:
db.insert(f"insert into infos (aid,url,status,msg,res_time,tag) values"
f"('{case['id']}','{case['url']}','{case['status']}','{case.get('msg','')}','{case.get('res_time',0)}','{tag}')")
print('-------------------------------------' + time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(start_time))+'-----------------------------------------------')
print(result)