From d6982a9b13b4ecc88b5621558577a27613e0febf Mon Sep 17 00:00:00 2001 From: VTGare Date: Sat, 9 Apr 2022 15:35:55 +0300 Subject: [PATCH] add video thumbnail to photos --- timeline.go | 1 + 1 file changed, 1 insertion(+) diff --git a/timeline.go b/timeline.go index cdeddae..c91aae5 100644 --- a/timeline.go +++ b/timeline.go @@ -218,6 +218,7 @@ func (timeline *timeline) parseTweet(id string) *Tweet { } } + tw.Photos = append(tw.Photos, video.Preview) tw.Videos = append(tw.Videos, video) }