Fix(template): Madara fixes & clean sources (#920)

* madara:
 - fix search 404 at the end
 - getCheerio instead of calling fetch everytime
 - dragon tea translator
 - fix riwyat search
 - fix riwyat random text
 - sources cleanup
 - daonovel new icon
 - icons cleanup
 - filters for everyone
 - better get_filters
lightnovelwp:
 - better get_filters

* DragonTea fix newline traduction
Riwyat english name

* Update source site URL for HizoManga
This commit is contained in:
Justin COLLON
2024-05-28 10:15:35 +02:00
committed by GitHub
parent 4d5cfc3c1a
commit 020930ed0a
38 changed files with 3716 additions and 164 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ class LightNovelWPPlugin implements Plugin.PluginBase {
): Promise<Plugin.NovelItem[]> {
const seriesPath = this.options?.seriesPath ?? 'series/';
let url = this.site + seriesPath + '?page=' + pageNo;
if (!filters) filters = {};
if (!filters) filters = this.filters || {};
if (showLatestNovels) url += '&order=latest';
for (const key in filters) {
if (typeof filters[key].value === 'object')