Przeglądaj źródła

fix: use a more recent UA (#11199)

gnattu 1 rok temu
rodzic
commit
564fdfec93
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/Jellyfin.LiveTv/TunerHosts/M3UTunerHost.cs

+ 1 - 1
src/Jellyfin.LiveTv/TunerHosts/M3UTunerHost.cs

@@ -150,7 +150,7 @@ namespace Jellyfin.LiveTv.TunerHosts
             {
                 // Use user-defined user-agent. If there isn't one, make it look like a browser.
                 httpHeaders[HeaderNames.UserAgent] = string.IsNullOrWhiteSpace(info.UserAgent) ?
-                    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.85 Safari/537.36" :
+                    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36" :
                     info.UserAgent;
             }