mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Request minified JSON from innertube (#2974)
This commit is contained in:
parent
5b82370bc3
commit
ed265cfdcd
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ module YoutubeAPI
|
||||||
client_config ||= DEFAULT_CLIENT_CONFIG
|
client_config ||= DEFAULT_CLIENT_CONFIG
|
||||||
|
|
||||||
# Query parameters
|
# Query parameters
|
||||||
url = "#{endpoint}?key=#{client_config.api_key}"
|
url = "#{endpoint}?key=#{client_config.api_key}&prettyPrint=false"
|
||||||
|
|
||||||
headers = HTTP::Headers{
|
headers = HTTP::Headers{
|
||||||
"Content-Type" => "application/json; charset=UTF-8",
|
"Content-Type" => "application/json; charset=UTF-8",
|
||||||
|
|
Loading…
Reference in a new issue