From c2cf9c2358832bc2d793a7b60b97adeb1af4a739 Mon Sep 17 00:00:00 2001 From: maijver Date: Thu, 14 Dec 2023 14:37:03 +0800 Subject: [PATCH 1/2] Update types.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "https://v.douyin.com/i8rV35QW/" Interval 不一定都是int --- extractors/douyin/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extractors/douyin/types.go b/extractors/douyin/types.go index b3433bac3..e5d935bbd 100644 --- a/extractors/douyin/types.go +++ b/extractors/douyin/types.go @@ -395,7 +395,7 @@ type douyinData struct { ImgXSize int `json:"img_x_size"` ImgYLen int `json:"img_y_len"` ImgYSize int `json:"img_y_size"` - Interval int `json:"interval"` + Interval float64 `json:"interval"` URI string `json:"uri"` } `json:"big_thumbs"` BitRate []struct { From 5d46b9a61ca7de44f60041e6769371bcc9d975bc Mon Sep 17 00:00:00 2001 From: Xinzhao Xu Date: Wed, 27 Dec 2023 10:03:32 +0800 Subject: [PATCH 2/2] fix code format --- extractors/douyin/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extractors/douyin/types.go b/extractors/douyin/types.go index e5d935bbd..a77763e1f 100644 --- a/extractors/douyin/types.go +++ b/extractors/douyin/types.go @@ -395,7 +395,7 @@ type douyinData struct { ImgXSize int `json:"img_x_size"` ImgYLen int `json:"img_y_len"` ImgYSize int `json:"img_y_size"` - Interval float64 `json:"interval"` + Interval float64 `json:"interval"` URI string `json:"uri"` } `json:"big_thumbs"` BitRate []struct {