pull/22/head
samuele.berlusconi 2020-10-14 16:12:22 +02:00
parent d996807c4e
commit 6eea0b17b4
1 changed files with 2 additions and 1 deletions

View File

@ -61,6 +61,7 @@ module.exports.getGameInfo = async function (browser, url) {
? parsedInfos["UPDATED"] ? parsedInfos["UPDATED"]
: parsedInfos["THREAD UPDATED"]; : parsedInfos["THREAD UPDATED"];
info.previewSource = await previewSource; info.previewSource = await previewSource;
info.changelog = await changelog;
//info.downloadInfo = await downloadData; //info.downloadInfo = await downloadData;
/* Downloading games without going directly to /* Downloading games without going directly to
* the platform appears to be prohibited by * the platform appears to be prohibited by
@ -285,7 +286,7 @@ async function parsePrefixes(page, info) {
* @private * @private
* Get the last changelog available for the game. * Get the last changelog available for the game.
* @param {puppeteer.Page} page Page containing the changelog * @param {puppeteer.Page} page Page containing the changelog
* @returns {String} Changelog for the last version * @returns {Promise<String>} Changelog for the last version
*/ */
async function getLastChangelog(page) { async function getLastChangelog(page) {
// Gets the first post, where are listed all the game's informations // Gets the first post, where are listed all the game's informations