Use legit User-Agent instead of Crystal User-Agent.

This commit is contained in:
Fijxu 2024-02-21 14:33:31 -03:00
parent 40d7d04803
commit a1b32c91e0
Signed by: Fijxu
GPG key ID: 32C1DDF333EDA6A4

View file

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