fix: linter issues

This commit is contained in:
K1ngfish3r
2026-04-23 01:04:42 +05:00
parent 5e195b7f53
commit 2396df38bb
111 changed files with 2738 additions and 2160 deletions
+2 -2
View File
@@ -56,7 +56,7 @@ class EarlyNovelPlugin implements Plugin.PagePlugin {
link += `?page=${pageNo}`;
const body = await fetchApi(link).then(res => res.text());
const body = await fetchApi(link).then((res: Response) => res.text());
const loadedCheerio = parseHTML(body);
return this.parseNovels(loadedCheerio);
@@ -110,7 +110,7 @@ class EarlyNovelPlugin implements Plugin.PagePlugin {
async parsePage(novelPath: string, page: string): Promise<Plugin.SourcePage> {
const url = this.site + novelPath + '?page=' + page;
const body = await fetchApi(url).then(res => res.text());
const body = await fetchApi(url).then((res: Response) => res.text());
const loadedCheerio = parseHTML(body);
const chapters = this.parseChapters(loadedCheerio);
return { chapters };