eg: TODO handle base game for add-ons via function

This commit is contained in:
Ralf Vogler 2024-06-27 14:09:37 +02:00
parent d85cd8d20c
commit e154b74e4d

View file

@ -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