Commit 9afd7c73c473e7c411c8e1ada33f16a97cc159a3
1 parent
86ef0837
2022年6月25日16:08:16 屏蔽快手粉丝抓取接口
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/cn/fw/freya/service/crawl/impl/KuaiShouCrawl.java
@@ -286,7 +286,7 @@ public class KuaiShouCrawl implements CrawlStrategy { | @@ -286,7 +286,7 @@ public class KuaiShouCrawl implements CrawlStrategy { | ||
286 | params.put("dateType", ""); | 286 | params.put("dateType", ""); |
287 | params.put("endTime", endTime.getTime()); | 287 | params.put("endTime", endTime.getTime()); |
288 | params.put("page", "1"); | 288 | params.put("page", "1"); |
289 | - params.put("startTime", startTime.getTime() - 7 * 24 * 3600 * 1000L); | 289 | + params.put("startTime", startTime.getTime()); |
290 | HttpConfig config = HttpConfig.custom().url("https://cp.kuaishou.com/rest/cp/creator/analysis/live/pc/detail") | 290 | HttpConfig config = HttpConfig.custom().url("https://cp.kuaishou.com/rest/cp/creator/analysis/live/pc/detail") |
291 | .context(cookies.getContext()) | 291 | .context(cookies.getContext()) |
292 | .json(JsonUtils.objectToJson(params)) | 292 | .json(JsonUtils.objectToJson(params)) |