Skip to content

Commit

Permalink
Add filesize apprx
Browse files Browse the repository at this point in the history
  • Loading branch information
fakelag committed Aug 3, 2024
1 parent e3ccf5c commit 3125135
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions youtubeapi/youtube.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@ type YtDlpObject struct {
}

type YtDlpVideoFormat struct {
FormatID string `json:"format_id"`
Format string `json:"format"`
Ext string `json:"ext"`
Url string `json:"url"`
Fps float64 `json:"fps"`
Resolution string `json:"resolution"`
FileSize int `json:"filesize"`
FormatID string `json:"format_id"`
Format string `json:"format"`
Ext string `json:"ext"`
Url string `json:"url"`
Fps float64 `json:"fps"`
Resolution string `json:"resolution"`
FileSize int `json:"filesize"`
FileSizeApprox int `json:"filesize_approx"`
}

type YtDlpVideo struct {
Expand Down

0 comments on commit 3125135

Please sign in to comment.