Last step to Alpha (#710)

* fix: novelhall id

* update readme

* update: actions

* fix: remove volume

* fix: remove showToast
This commit is contained in:
nyagami
2024-01-22 01:54:15 +07:00
committed by GitHub
parent f32c15a78d
commit a29175c421
17 changed files with 1608 additions and 657 deletions
-3
View File
@@ -1,6 +1,5 @@
import { load as parseHTML } from "cheerio";
import { fetchApi, fetchFile } from "@libs/fetch";
import { showToast } from "@libs/showToast";
import { Chapter, Novel, Plugin } from "@typings/plugin";
const pluginId = "lnmtl";
@@ -36,8 +35,6 @@ export const popularNovels: Plugin.popularNovels = async function (page) {
export const parseNovelAndChapters: Plugin.parseNovelAndChapters =
async function (novelUrl) {
showToast("LNMTL might take around 20-30 seconds.");
const url = novelUrl;
const body = await fetchApi(url, {}, pluginId).then((r) => r.text());