From 234b4a84dfe7dc40af97ee1233a6253d1dbc6158 Mon Sep 17 00:00:00 2001 From: Bionus Date: Fri, 26 Apr 2024 00:52:02 +0200 Subject: [PATCH] sources: fix E-H non-approximate image counting --- src/sites/E-Hentai/model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sites/E-Hentai/model.ts b/src/sites/E-Hentai/model.ts index 931e313a5..7ced9a6a3 100644 --- a/src/sites/E-Hentai/model.ts +++ b/src/sites/E-Hentai/model.ts @@ -157,7 +157,7 @@ function parseList(src: string): IParsedSearch { return { images, pageCount: Grabber.countToInt(Grabber.regexToConst("page", ">(?[0-9,]+)]*>(?:>|]*>>)", src)), - imageCount: Grabber.countToInt(Grabber.regexToConst("count", ">Showing (?[0-9,]+) results<|Found about (?[0-9,]+) results.", src)), + imageCount: Grabber.countToInt(Grabber.regexToConst("count", ">Showing (?[0-9,]+) results<|Found(?: about)? (?[0-9,]+) results.", src)), urlNextPage: Grabber.regexToConst("url", '', src), urlPrevPage: Grabber.regexToConst("url", '', src), };