From bd05fcd0866c74134ac501b6ea973c349200b71f Mon Sep 17 00:00:00 2001 From: MikeZeDev Date: Sat, 30 Dec 2023 12:13:48 +0000 Subject: [PATCH] FIx MangaNato : fix domain regex (#6618) Fixes https://github.com/manga-download/hakuneko/issues/6617 chapmanganato.to / readmanganato.to (no more .com? ) --- src/web/mjs/connectors/MangaNel.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/mjs/connectors/MangaNel.mjs b/src/web/mjs/connectors/MangaNel.mjs index a79af479562..8677e83e0d9 100644 --- a/src/web/mjs/connectors/MangaNel.mjs +++ b/src/web/mjs/connectors/MangaNel.mjs @@ -33,7 +33,7 @@ export default class MangaNel extends Connector { canHandleURI(uri) { // Test: https://regex101.com/r/aPR3zy/3/tests - return /^(chap|read)?manganato\.com$/.test(uri.hostname); + return /^(chap|read)?manganato\.(com|to)$/.test(uri.hostname); } async _getMangaFromURI(uri) {