Improve purple screen logging

This commit is contained in:
younesaassila 2024-09-21 12:57:06 +02:00
parent d8f9a4f321
commit 12d2af3b9c

View File

@ -34,7 +34,9 @@ export default function onBeforeVideoWeaverRequest(
if (isDuplicate) return text;
const channelName = findChannelFromVideoWeaverUrl(details.url);
const isPurpleScreen = textLower.includes("https://help.twitch.tv/");
const isPurpleScreen =
textLower.includes("https://example.com") &&
textLower.includes("https://help.twitch.tv/");
const proxy =
details.proxyInfo && details.proxyInfo.type !== "direct"
? getUrlFromProxyInfo(details.proxyInfo)