From 24e79c85050b554296f0b754555b742732fb7848 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Fri, 28 Mar 2025 20:43:29 +0800 Subject: [PATCH] Fix mvlempyr --- src/plugins/english/mvlempyr.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/plugins/english/mvlempyr.ts b/src/plugins/english/mvlempyr.ts index 775d83c88..bed13d575 100644 --- a/src/plugins/english/mvlempyr.ts +++ b/src/plugins/english/mvlempyr.ts @@ -31,7 +31,7 @@ class MVLEMPYRPlugin implements Plugin.PluginBase { site = 'https://www.mvlempyr.com/'; version = '1.0.6'; - _chapSite = 'https://chap.mvlempyr.net/'; + _chapSite = 'https://chap.mvlempyr.space/'; _allNovels: (Plugin.NovelItem & ExtraNovelData)[] | undefined; _allNovelsPromise: Promise<(Plugin.NovelItem & ExtraNovelData)[]> | undefined; @@ -327,7 +327,6 @@ class MVLEMPYRPlugin implements Plugin.PluginBase { headers: { origin2: this.site.replace(/\/$/, ''), origin: this.site.replace(/\/$/, ''), - Referer: 'https://www.mvlempyr.com/', }, }, ); @@ -351,7 +350,6 @@ class MVLEMPYRPlugin implements Plugin.PluginBase { headers: { origin2: this.site.replace(/\/$/, ''), origin: this.site.replace(/\/$/, ''), - Referer: 'https://www.mvlempyr.com/', }, }, ).then(res => res.json()), @@ -394,7 +392,7 @@ class MVLEMPYRPlugin implements Plugin.PluginBase { } async parseChapter(chapterPath: string): Promise { - const result = await fetchApi(this._chapSite + chapterPath); + const result = await fetchApi(this.site + chapterPath); const body = await result.text(); const loadedCheerio = parseHTML(body);