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 +);