Minor fix
This commit is contained in:
parent
73c2366c52
commit
fbb5d6093b
|
@ -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"]
|
||||
);
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue