Small optimization to json payload size in Innertube
This commit is contained in:
1 parent
944a785dc3
commit
fa908c1f53
2 files changed
+5
-1
No files matched your search
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
|
||||
- Small optimization to json payload size in Innertube
|
||||
|
||||
### Fixed
|
||||
|
||||
- Hls hanging on HDR videos
|
||||
|
||||
@@ -119,7 +119,7 @@ namespace InnertubeService
|
||||
}
|
||||
}
|
||||
|
||||
request = HttpClient.Post("https://www.youtube.com/youtubei/v1/player", FormatJson(payload))
|
||||
request = HttpClient.Post("https://www.youtube.com/youtubei/v1/player?prettyPrint=false&alt=json", FormatJson(payload))
|
||||
request.Headers({
|
||||
"accept": "*/*"
|
||||
"accept-language": "*"
|
||||
|
||||
Reference in new issue
Block a user