From 9c99664e0007512b6af8438c09a54069fe732099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E8=81=AA?= Date: Thu, 4 Jan 2024 11:38:52 +0800 Subject: [PATCH] feat: add UserID and FollowerCount fields to video crawler --- hrp/pkg/uixt/video_crawler.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hrp/pkg/uixt/video_crawler.go b/hrp/pkg/uixt/video_crawler.go index f96a961c..3f24bc03 100644 --- a/hrp/pkg/uixt/video_crawler.go +++ b/hrp/pkg/uixt/video_crawler.go @@ -348,6 +348,9 @@ type Video struct { UserName string `json:"user_name"` // 视频作者 Duration int64 `json:"duration,omitempty"` // 视频时长(ms) Caption string `json:"caption,omitempty"` // 视频文案 + // 作者信息 + UserID string `json:"user_id"` // 作者用户名 + FollowerCount int64 `json:"follower_count"` // 作者粉丝数 // 视频热度数据 ViewCount int64 `json:"view_count,omitempty"` // feed 观看数 LikeCount int64 `json:"like_count,omitempty"` // feed 点赞数