Skip to content

Commit

Permalink
Update Android client version
Browse files Browse the repository at this point in the history
  • Loading branch information
Hakkin committed Mar 11, 2024
1 parent ea42caf commit 1671114
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions player_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const (
'context': {
'client': {
'clientName': 'ANDROID',
'clientVersion': '17.31.35',
'clientVersion': '19.09.37',
'hl': 'en'
}
},
Expand Down Expand Up @@ -275,7 +275,7 @@ func (di *DownloadInfo) DownloadAndroidPlayerResponse() (*PlayerResponse, error)
}

req.Header.Add("X-YouTube-Client-Name", "3")
req.Header.Add("X-YouTube-Client-Version", "17.31.35")
req.Header.Add("X-YouTube-Client-Version", "19.09.37")
req.Header.Add("Origin", "https://www.youtube.com")
req.Header.Add("content-type", "application/json")

Expand Down

0 comments on commit 1671114

Please sign in to comment.