- reflect changes made to next endpoint (InnerTube Api)
This commit is contained in:
Shiny Nematoda
2022-08-11 11:44:19 +00:00
parent 7e24fb8176
commit 7dee09e9c5
7 changed files with 713 additions and 247 deletions
+2
View File
@@ -70,6 +70,7 @@ type Lyrics struct {
type Client struct {
Name string `json:"clientName,omitempty"`
Version string `json:"clientVersion,omitempty"`
Hl string `json:"hl",omitempty`
}
type Context struct {
@@ -98,6 +99,7 @@ type BrowseData struct {
type NextData struct {
Id string `json:"videoId,omitempty"`
PlaylistId string `json:"playlistId",omitempty`
Context Context `json:"context,omitempty"`
Audio bool `json:"isAudioOnly,omitempty"`
Tuner string `json:"tunerSettingValue,omitempty"`