Wrap comment

pull/2205/head
syeopite 3 years ago
parent 7da0b2fd7f
commit ca4df29670
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82

@ -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…
Cancel
Save