From 85101da0656d2a795b599fc09be46fd09d15bda0 Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Fri, 16 Oct 2020 09:26:55 +0200 Subject: [PATCH] Bugfix --- app/scripts/game-scraper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/game-scraper.js b/app/scripts/game-scraper.js index 92a553b..24de34a 100644 --- a/app/scripts/game-scraper.js +++ b/app/scripts/game-scraper.js @@ -373,7 +373,7 @@ function extractGameHostingData(platform, text) { // Find the end of the container if (endIndex === -1) - text.indexOf(CONTAINER_SPAN_CLOSE, startIndex) + + endIndex = text.indexOf(CONTAINER_SPAN_CLOSE, startIndex) + CONTAINER_SPAN_CLOSE.length; text = text.substring(startIndex, endIndex);