From d11fa31023423115c18f93b14193840042f203cc Mon Sep 17 00:00:00 2001 From: royalcat Date: Thu, 20 Jun 2024 11:20:53 +0300 Subject: [PATCH] fix ytdlp --- pkg/ytdlp/model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ytdlp/model.go b/pkg/ytdlp/model.go index 78a9e5f..ba9d6a5 100644 --- a/pkg/ytdlp/model.go +++ b/pkg/ytdlp/model.go @@ -199,7 +199,7 @@ type Format struct { ManifestURL *string `json:"manifest_url,omitempty"` Language *Language `json:"language"` Preference interface{} `json:"preference"` - Quality *int64 `json:"quality,omitempty"` + Quality *float64 `json:"quality,omitempty"` HasDRM *bool `json:"has_drm,omitempty"` SourcePreference *int64 `json:"source_preference,omitempty"` ASR *int64 `json:"asr"`