mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-17 03:34:29 -05:00
Wrap comment
This commit is contained in:
parent
7da0b2fd7f
commit
ca4df29670
@ -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 New Issue
Block a user