From fbb5d6093b75857f230684abdcad86f76d417a3b Mon Sep 17 00:00:00 2001 From: XMYSTERlOUSX <73080587+XMYSTERlOUSX@users.noreply.github.com> Date: Thu, 20 Oct 2022 21:04:08 +0530 Subject: [PATCH] Minor fix --- Learnyst Capture/background.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Learnyst Capture/background.js b/Learnyst Capture/background.js index 7ac45c9..fd8c862 100644 --- a/Learnyst Capture/background.js +++ b/Learnyst Capture/background.js @@ -89,7 +89,7 @@ function getLicenseRequestData(details) { try { const decodedString = textDecoder.decode(details.requestBody.raw[j].bytes); - if (decodedString.includes("rz8l9uBxppeZrFM0rhlLLck64hvUydSTNE0WcEpJzpef8gSLfyxTcxa3tgvjgdrhhtiJuGiYTijZRfTvHb3XW7BAZUDw")) { + if (decodedString.includes("rz8l9uBxppeZrFM0rhlLLck64hvUydST")) { tabIDs[details.tabId] = {license_data: decodedString, license_request: [], license_url: details.url, req_id: details.requestId, mpd_url: tabIDs[details.tabId].mpd_url ?? ""}; } else { return; @@ -119,4 +119,4 @@ chrome.webRequest.onBeforeSendHeaders.addListener( getLicenseRequestHeaders, { urls: ["https://drmv4-ax.learnyst.com/drmlicense/widevine"], types: ["xmlhttprequest"] }, ["requestHeaders", "blocking"] -); \ No newline at end of file +);