From e1554267000f8c465fd49188cc676ddad065792c Mon Sep 17 00:00:00 2001 From: Preston Date: Wed, 7 Apr 2021 17:33:56 -0400 Subject: [PATCH] Add second consent cookie for compatibility --- src/main/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/index.js b/src/main/index.js index 093e9923..a8daed35 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -253,6 +253,12 @@ function createWindow (useProxy = false, proxyUrl = '') { name: 'CONSENT', value: 'YES+' }) + + mainWindow.webContents.session.cookies.set({ + url: 'https://consent.youtube.com', + name: 'CONSENT', + value: 'YES+' + }) settingsDb.findOne({ _id: 'bounds'