diff --git a/epic-games.js b/epic-games.js index 1ab81c6..56c1035 100644 --- a/epic-games.js +++ b/epic-games.js @@ -259,4 +259,5 @@ try { } } if (cfg.debug) writeFileSync(path.resolve(cfg.dir.browser, 'cookies.json'), JSON.stringify(await context.cookies())); +if (page.video()) console.log('Recorded video:', await page.video().path()) await context.close(); diff --git a/gog.js b/gog.js index fa82c8a..6b02ee5 100644 --- a/gog.js +++ b/gog.js @@ -145,4 +145,5 @@ try { notify(`gog (${user}):
${html_game_list(notify_games)}`); } } +if (page.video()) console.log('Recorded video:', await page.video().path()) await context.close(); diff --git a/prime-gaming.js b/prime-gaming.js index 1162496..1523e5f 100644 --- a/prime-gaming.js +++ b/prime-gaming.js @@ -387,4 +387,5 @@ try { notify(`prime-gaming (${user}):
${html_game_list(notify_games)}`); } } +if (page.video()) console.log('Recorded video:', await page.video().path()) await context.close(); diff --git a/unrealengine.js b/unrealengine.js index 4370a85..a5d3282 100644 --- a/unrealengine.js +++ b/unrealengine.js @@ -199,4 +199,5 @@ try { } } if (cfg.debug) writeFileSync(path.resolve(cfg.dir.browser, 'cookies.json'), JSON.stringify(await context.cookies())); +if (page.video()) console.log('Recorded video:', await page.video().path()) await context.close();