From de26c23498a6c08d0536ab52276a4bad80b46ff4 Mon Sep 17 00:00:00 2001 From: shirt-dev Date: Fri, 17 Mar 2023 19:26:15 -0400 Subject: [PATCH] Fix max bitrate selection --- netflix_max_bitrate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netflix_max_bitrate.js b/netflix_max_bitrate.js index 9ad496b..9707a43 100644 --- a/netflix_max_bitrate.js +++ b/netflix_max_bitrate.js @@ -6,7 +6,7 @@ let getElementByXPath = function (xpath) { }; let fn = function () { - const VIDEO_SELECT = getElementByXPath("//div[text()='Video Bitrate']"); + const VIDEO_SELECT = getElementByXPath("//div[text()='Video Bitrate']") || getElementByXPath("//div[text()='Video Bitrate / VMAF']"); const AUDIO_SELECT = getElementByXPath("//div[text()='Audio Bitrate']"); const BUTTON = getElementByXPath("//button[text()='Override']");