From b1bcdd4bc9902675badb5f8f4330a7194d3f9830 Mon Sep 17 00:00:00 2001 From: MikeZeDev Date: Thu, 15 Jun 2023 20:26:03 +0000 Subject: [PATCH] FIX : OmegaScans - remove timestamp in manga id (#5901) this fix getting chapters Fixes https://github.com/manga-download/hakuneko/issues/5900 --- src/web/mjs/connectors/OmegaScans.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/mjs/connectors/OmegaScans.mjs b/src/web/mjs/connectors/OmegaScans.mjs index dcfa84ecf50..e9008e12500 100644 --- a/src/web/mjs/connectors/OmegaScans.mjs +++ b/src/web/mjs/connectors/OmegaScans.mjs @@ -59,7 +59,7 @@ export default class OmegaScans extends Connector { data = await data.json(); return data.data.map(element => { return{ - id: element.series_slug, + id: element.series_slug.replace(/-\d+$/, ''), title : element.title.trim() }; });