eg: TODO handle base game for add-ons via function
This commit is contained in:
parent
d85cd8d20c
commit
e154b74e4d
1 changed files with 1 additions and 0 deletions
|
|
@ -193,6 +193,7 @@ try {
|
||||||
const baseUrl = 'https://store.epicgames.com' + await page.locator('a:has-text("Overview")').getAttribute('href');
|
const baseUrl = 'https://store.epicgames.com' + await page.locator('a:has-text("Overview")').getAttribute('href');
|
||||||
console.log(' Base game:', baseUrl);
|
console.log(' Base game:', baseUrl);
|
||||||
// await page.click('a:has-text("Overview")');
|
// 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(baseUrl); // add base game to the list of games to claim
|
||||||
urls.push(url); // add add-on itself again
|
urls.push(url); // add add-on itself again
|
||||||
} else { // GET
|
} else { // GET
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue