Skip to content

Commit

Permalink
fix(source): Foxaholic (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
CD-Z authored Feb 23, 2023
1 parent b40e933 commit 2e4ff91
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/sources/en/foxaholic.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 2e4ff91

Please sign in to comment.