From 2e4ff916aaf9ea8ce075185a36be8d94eff20a3f Mon Sep 17 00:00:00 2001 From: Patrick Loser <69157453+CD-Z@users.noreply.github.com> Date: Thu, 23 Feb 2023 03:08:38 +0100 Subject: [PATCH] fix(source): Foxaholic (#563) --- src/sources/en/foxaholic.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/sources/en/foxaholic.js b/src/sources/en/foxaholic.js index 355f4e32a..ee47c2a50 100644 --- a/src/sources/en/foxaholic.js +++ b/src/sources/en/foxaholic.js @@ -96,19 +96,6 @@ const parseNovelAndChapters = async novelUrl => { let novelChapters = []; - // const novelId = $('#manga-chapters-holder').attr('data-id'); - - // let formData = new FormData(); - // formData.append('action', 'manga_get_chapters'); - // formData.append('manga', novelId); - - const data = await fetch(`${url}ajax/chapters/`, { - method: 'POST', - }); - const text = await data.text(); - - loadedCheerio = cheerio.load(text); - loadedCheerio('.wp-manga-chapter').each(function () { const chapterName = loadedCheerio(this) .find('a')