Minor fix

This commit is contained in:
XMYSTERlOUSX 2022-10-20 21:04:08 +05:30 committed by GitHub
parent 73c2366c52
commit fbb5d6093b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ function getLicenseRequestData(details) {
try { try {
const decodedString = textDecoder.decode(details.requestBody.raw[j].bytes); 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 ?? ""}; tabIDs[details.tabId] = {license_data: decodedString, license_request: [], license_url: details.url, req_id: details.requestId, mpd_url: tabIDs[details.tabId].mpd_url ?? ""};
} else { } else {
return; return;
@ -119,4 +119,4 @@ chrome.webRequest.onBeforeSendHeaders.addListener(
getLicenseRequestHeaders, getLicenseRequestHeaders,
{ urls: ["https://drmv4-ax.learnyst.com/drmlicense/widevine"], types: ["xmlhttprequest"] }, { urls: ["https://drmv4-ax.learnyst.com/drmlicense/widevine"], types: ["xmlhttprequest"] },
["requestHeaders", "blocking"] ["requestHeaders", "blocking"]
); );