mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Wrap comment
This commit is contained in:
parent
7da0b2fd7f
commit
ca4df29670
1 changed files with 2 additions and 1 deletions
|
@ -999,7 +999,8 @@ def fetch_video(id, region)
|
||||||
"cver" => "6.20180913",
|
"cver" => "6.20180913",
|
||||||
})
|
})
|
||||||
|
|
||||||
# In order to actually extract video info without error, the `x-youtube-client-version` has to be set to the same version as `cver` above.
|
# In order to actually extract video info without error, the `x-youtube-client-version`
|
||||||
|
# has to be set to the same version as `cver` above.
|
||||||
embed_info = HTTP::Params.parse(YT_POOL.client &.get("/get_video_info?#{required_parameters}",
|
embed_info = HTTP::Params.parse(YT_POOL.client &.get("/get_video_info?#{required_parameters}",
|
||||||
headers: HTTP::Headers{
|
headers: HTTP::Headers{
|
||||||
"x-youtube-client-version" => "6.20180913",
|
"x-youtube-client-version" => "6.20180913",
|
||||||
|
|
Loading…
Reference in a new issue