From a1b32c91e090239ce2b926ed310f8e5c86be9365 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Wed, 21 Feb 2024 14:33:31 -0300 Subject: [PATCH] Use legit User-Agent instead of `Crystal` User-Agent. --- src/invidious/routes/video_playback.cr | 1 - 1 file changed, 1 deletion(-) diff --git a/src/invidious/routes/video_playback.cr b/src/invidious/routes/video_playback.cr index 3a4af8dc..11170d85 100644 --- a/src/invidious/routes/video_playback.cr +++ b/src/invidious/routes/video_playback.cr @@ -42,7 +42,6 @@ module Invidious::Routes::VideoPlayback headers["Range"] = "bytes=#{range_for_head}" end - headers["Alt-Used"] = host headers["Origin"] = "https://www.youtube.com" headers["Referer"] = "https://www.youtube.com/" headers["User-Agent"] = "Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"