WoopRead: Fix novelId

This commit is contained in:
Rajarshee Chatterjee
2021-05-30 13:18:31 +05:30
parent e37759d76f
commit 7bd4de9131
+3 -1
View File
@@ -84,9 +84,11 @@ const novelScraper = async (req, res) => {
let novelChapters = [];
const novelId = $(".rating-post-id").attr("value");
let formData = new FormData();
formData.append("action", "manga_get_chapters");
formData.append("manga", 2746);
formData.append("manga", novelId);
const data = await fetch("https://woopread.com/wp-admin/admin-ajax.php", {
method: "POST",