Invidious is an alternative front-end to YouTube
Wrap comment
syeopiteca4df2967049
diff --git a/src/invidious/videos.cr b/src/invidious/videos.crindex 264a70e8..3e64537e 100644--- a/src/invidious/videos.cr+++ b/src/invidious/videos.cr@@ -999,7 +999,8 @@ def fetch_video(id, region)"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}",headers: HTTP::Headers{"x-youtube-client-version" => "6.20180913",