From 6eea0b17b4a5d0b2c3da816613b004fb4923d05a Mon Sep 17 00:00:00 2001 From: "samuele.berlusconi" Date: Wed, 14 Oct 2020 16:12:22 +0200 Subject: [PATCH] Bugfixes --- app/scripts/game-scraper.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/scripts/game-scraper.js b/app/scripts/game-scraper.js index 57c7a8d..6cbcd53 100644 --- a/app/scripts/game-scraper.js +++ b/app/scripts/game-scraper.js @@ -61,6 +61,7 @@ module.exports.getGameInfo = async function (browser, url) { ? parsedInfos["UPDATED"] : parsedInfos["THREAD UPDATED"]; info.previewSource = await previewSource; + info.changelog = await changelog; //info.downloadInfo = await downloadData; /* Downloading games without going directly to * the platform appears to be prohibited by @@ -285,7 +286,7 @@ async function parsePrefixes(page, info) { * @private * Get the last changelog available for the game. * @param {puppeteer.Page} page Page containing the changelog - * @returns {String} Changelog for the last version + * @returns {Promise} Changelog for the last version */ async function getLastChangelog(page) { // Gets the first post, where are listed all the game's informations