From c6a44cc7b9e33570f2ac6e342992e5913c075010 Mon Sep 17 00:00:00 2001 From: shaochuyu <1040641785@qq.com> Date: Fri, 19 May 2023 11:41:33 +0800 Subject: [PATCH] fix 360quake API specify the include field to improve efficiency and use latest data fix 360quake API specify the include field to improve efficiency and use latest data --- resources/scripts/api/quake.ads | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/scripts/api/quake.ads b/resources/scripts/api/quake.ads index 5eea43b88..ef2cc39e7 100644 --- a/resources/scripts/api/quake.ads +++ b/resources/scripts/api/quake.ads @@ -39,6 +39,8 @@ function vertical(ctx, domain) while(true) do local body, err = json.encode({ ['query']="domain:*." .. domain, + ['include']={"service.http.host"}, + ['latest']= true, ['start']=p, ['size']=1000, })