Skip to content

Commit

Permalink
Improve purple screen logging
Browse files Browse the repository at this point in the history
  • Loading branch information
younesaassila committed Sep 21, 2024
1 parent d8f9a4f commit 12d2af3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/background/handlers/onBeforeVideoWeaverRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 12d2af3

Please sign in to comment.