Wrap comment

This commit is contained in:
syeopite 2021-06-25 14:14:41 -07:00
parent 7da0b2fd7f
commit ca4df29670
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82
1 changed files with 2 additions and 1 deletions

View File

@ -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",