From 0716a0790cc913b9d54d0d31daf5cbf385c92351 Mon Sep 17 00:00:00 2001 From: MikeZeDev Date: Mon, 11 Sep 2023 08:44:33 +0000 Subject: [PATCH] FIx LeviatanScans : change domain (#6213) * FIx LeviatanScans : chande domain Fixes https://github.com/manga-download/hakuneko/issues/6210 * Update LeviatanScans.mjs --- src/web/mjs/connectors/LeviatanScans.mjs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/web/mjs/connectors/LeviatanScans.mjs b/src/web/mjs/connectors/LeviatanScans.mjs index 82c9baf67d..0438647ef9 100644 --- a/src/web/mjs/connectors/LeviatanScans.mjs +++ b/src/web/mjs/connectors/LeviatanScans.mjs @@ -7,12 +7,8 @@ export default class LeviatanScans extends WordPressMadara { super.id = 'leviatanscans'; super.label = 'LeviatanScans'; this.tags = [ 'webtoon', 'high-quality', 'english', 'scanlation' ]; - this.url = 'https://en.leviatanscans.com'; + this.url = 'https://lscomic.com'; this.requestOptions.headers.set('x-origin', this.url); this.requestOptions.headers.set('x-referer', `${this.url}/`); } - - _createMangaRequest(page) { - return new Request(new URL(`/ranking/page/${page}/`, this.url), this.requestOptions); - } }