Add TopLiba (#1003)

* test

* cleanup

deleted unused `fetchFile` import
replaced fetch with `fetchApi`

* eslint

* fix

* fix multi

* Hmm, what to do next.

* test URLSearchParams

* fix
This commit is contained in:
Rider21
2024-06-30 07:28:11 +03:00
committed by GitHub
parent 938e3b16a3
commit fae73534dd
121 changed files with 10534 additions and 8079 deletions
+2 -3
View File
@@ -1,6 +1,6 @@
import { Plugin } from '@typings/plugin';
import { FilterTypes, Filters } from '@libs/filterInputs';
import { fetchApi, fetchFile } from '@libs/fetch';
import { fetchApi } from '@libs/fetch';
import { NovelStatus } from '@libs/novelStatus';
import dayjs from 'dayjs';
@@ -147,8 +147,7 @@ class ReN implements Plugin.PluginBase {
return novels;
}
resolveUrl = (path: string, isNovel?: boolean) =>
this.site + '/novel/' + path;
resolveUrl = (path: string) => this.site + '/novel/' + path;
filters = {
sort: {