From 222bebad96d5efffe0bb2261819c25532adcad19 Mon Sep 17 00:00:00 2001 From: MikeZeDev Date: Tue, 20 Feb 2024 13:46:54 +0000 Subject: [PATCH] Websites maintenance : AlliedFansub & Nivera (#6802) * AlliedFansub: change domain and template Fixes https://github.com/manga-download/hakuneko/issues/6793 * Nivera : change domain Fixes https://github.com/manga-download/hakuneko/issues/6792 --- src/web/mjs/connectors/AlliedFansub.mjs | 7 +++---- src/web/mjs/connectors/NiveraFansub.mjs | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/web/mjs/connectors/AlliedFansub.mjs b/src/web/mjs/connectors/AlliedFansub.mjs index bddd3971e7..2e6e3652f0 100644 --- a/src/web/mjs/connectors/AlliedFansub.mjs +++ b/src/web/mjs/connectors/AlliedFansub.mjs @@ -1,14 +1,13 @@ -import WordPressMangastream from './templates/WordPressMangastream.mjs'; +import WordPressMadara from './templates/WordPressMadara.mjs'; -export default class AlliedFansub extends WordPressMangastream { +export default class AlliedFansub extends WordPressMadara { constructor() { super(); super.id = 'alliedfansub'; super.label = 'Allied Fansub'; this.tags = [ 'webtoon', 'turkish', 'scanlation' ]; - this.url = 'https://alliedfansub.online'; - this.path = '/manga/list-mode/'; + this.url = 'https://alliedfansub.net'; this.requestOptions.headers.set('x-referer', this.url); } } diff --git a/src/web/mjs/connectors/NiveraFansub.mjs b/src/web/mjs/connectors/NiveraFansub.mjs index ae34a29444..ee42c9c194 100644 --- a/src/web/mjs/connectors/NiveraFansub.mjs +++ b/src/web/mjs/connectors/NiveraFansub.mjs @@ -7,7 +7,7 @@ export default class NiveraFansub extends WordPressMadara { super.id = 'niverafansub'; super.label = 'Nivera Fansub'; this.tags = [ 'webtoon', 'turkish', 'scanlation' ]; - this.url = 'https://niverafansub.com'; + this.url = 'https://niverafansub.co'; this.requestOptions.headers.set('x-referer', this.url); } } \ No newline at end of file