From 667c867ad8a9e69b1af9de6a8f7a30cca9334c95 Mon Sep 17 00:00:00 2001 From: TobiGr Date: Thu, 11 Jul 2024 23:50:57 +0200 Subject: [PATCH] Update user agent to Firefox ESR 128 --- .../org/schabi/newpipe/downloader/DownloaderTestImpl.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/extractor/src/test/java/org/schabi/newpipe/downloader/DownloaderTestImpl.java b/extractor/src/test/java/org/schabi/newpipe/downloader/DownloaderTestImpl.java index 346126991..1ba47e086 100644 --- a/extractor/src/test/java/org/schabi/newpipe/downloader/DownloaderTestImpl.java +++ b/extractor/src/test/java/org/schabi/newpipe/downloader/DownloaderTestImpl.java @@ -18,8 +18,11 @@ import okhttp3.RequestBody; import okhttp3.ResponseBody; public final class DownloaderTestImpl extends Downloader { + /** + * Should be the latest Firefox ESR version. + */ private static final String USER_AGENT - = "Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0"; + = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0"; private static DownloaderTestImpl instance; private final OkHttpClient client;