ytdl-web/pkg/ytdl/metadata/thumbnail.go

19 lines
363 B
Go
Raw Permalink Normal View History

2023-05-23 18:44:05 -04:00
package metadata
type Thumbnail struct {
// Thumbnail format ID
ID *string `json:"id"`
Url string `json:"url"`
// Quality of the image
Preference *int `json:"preference"`
Width *int `json:"width"`
Height *int `json:"height"`
Filesize *int `json:"filesize"`
// HTTP headers for the request
HttpHeaders map[string]string `json:"http_headers"`
}