diff --git a/app/scripts/game-scraper.js b/app/scripts/game-scraper.js index 0fea13c..af4785d 100644 --- a/app/scripts/game-scraper.js +++ b/app/scripts/game-scraper.js @@ -100,6 +100,7 @@ module.exports.getGameVersionFromTitle = async function (browser, info) { const endIndex = title.indexOf("]", startIndex); let version = title.substring(startIndex, endIndex).trim().toUpperCase(); if (version.startsWith("V")) version = version.replace("V", ""); // Replace only the first occurrence + await page.close(); return version; };