From acca80dc703f62f8eca2424ad142b60a62f14b2e Mon Sep 17 00:00:00 2001 From: Niko Storni Date: Mon, 22 Feb 2021 19:46:22 +0100 Subject: [PATCH] fix unmarshal issue --- downloader/ytdl/Video.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/downloader/ytdl/Video.go b/downloader/ytdl/Video.go index 079d557..882354b 100644 --- a/downloader/ytdl/Video.go +++ b/downloader/ytdl/Video.go @@ -27,7 +27,7 @@ type YtdlVideo struct { ID string `json:"id"` DislikeCount interface{} `json:"dislike_count"` AverageRating float64 `json:"average_rating"` - Abr int `json:"abr"` + Abr float64 `json:"abr"` UploaderURL string `json:"uploader_url"` Categories []string `json:"categories"` Fps float64 `json:"fps"`