From e154b74e4d3a927f230d39fd63b374f92f37f7ef Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Thu, 27 Jun 2024 14:09:37 +0200 Subject: [PATCH] eg: TODO handle base game for add-ons via function --- epic-games.js | 1 + 1 file changed, 1 insertion(+) diff --git a/epic-games.js b/epic-games.js index 70807b8..9aeb6ab 100644 --- a/epic-games.js +++ b/epic-games.js @@ -193,6 +193,7 @@ try { const baseUrl = 'https://store.epicgames.com' + await page.locator('a:has-text("Overview")').getAttribute('href'); console.log(' Base game:', baseUrl); // await page.click('a:has-text("Overview")'); + // TODO handle this via function call for base game above since this will never terminate if DRYRUN=1 urls.push(baseUrl); // add base game to the list of games to claim urls.push(url); // add add-on itself again } else { // GET