From 43172692bf3b5dfa7fbe148110bb280e80792ba1 Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Thu, 3 Dec 2020 10:11:48 +0100 Subject: [PATCH] Updated ID regex --- app/scripts/scraper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/scraper.js b/app/scripts/scraper.js index 55ba498..606e9a2 100644 --- a/app/scripts/scraper.js +++ b/app/scripts/scraper.js @@ -376,7 +376,7 @@ function isMod(prefix) { function extractIDFromURL(url) { // URL are in the format https://f95zone.to/threads/GAMENAME-VERSION-DEVELOPER.ID/ // or https://f95zone.to/threads/ID/ - const match = url.match(/([0-9]+)(?=\/|\b)(?!-)/); + const match = url.match(/([0-9]+)(?=\/|\b)(?!-|\.)/); if(!match) return -1; // Parse and return number