diff --git a/app/scripts/game-scraper.js b/app/scripts/game-scraper.js index 57c7a8d..016f400 100644 --- a/app/scripts/game-scraper.js +++ b/app/scripts/game-scraper.js @@ -290,7 +290,7 @@ async function parsePrefixes(page, info) { async function getLastChangelog(page) { // Gets the first post, where are listed all the game's informations let post = (await page.$$(selectors.THREAD_POSTS))[0]; - + let spoiler = await post.$(selectors.THREAD_LAST_CHANGELOG); let changelogHTML = await page.evaluate( /* istanbul ignore next */ diff --git a/app/scripts/game-searcher.js b/app/scripts/game-searcher.js index d34f97c..5454a26 100644 --- a/app/scripts/game-searcher.js +++ b/app/scripts/game-searcher.js @@ -37,9 +37,9 @@ module.exports.getSearchGameResults = async function (browser, gamename) { page.click(selectors.SEARCH_BUTTON), // Execute search page.waitForNavigation({ waitUntil: shared.WAIT_STATEMENT, - }) // Wait for page to load + }), // Wait for page to load ]); - + // Select all conversation titles let resultsThread = await page.$$(selectors.SEARCH_THREADS_RESULTS_BODY);