Small optimization to json payload size in Innertube

This commit is contained in:
Brahim Hadriche committed 2024-11-29 15:47:05 -05:00
1 parent 944a785dc3
commit fa908c1f53
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
### Added
- Small optimization to json payload size in Innertube
### Fixed ### Fixed
- Hls hanging on HDR videos - 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({ request.Headers({
"accept": "*/*" "accept": "*/*"
"accept-language": "*" "accept-language": "*"