Madara rework & Lightnovelwp update (#819)
* fix hizomanga * added filters for systemtranslation & whitemoonlightnovels * fix typos in lightnovelwp README * fix arnovel domain change * Madra: - added version Increments for sources * Madara rework: - filters in seperate folder - added generator for filters - added README - removed path in sources (getting genres from advanced search) - added checking for Captcha errors - simplified code - better filter management - madara/icons/*.png => madara/*.png * lightnovelwp: - better checks for Captcha - better log * madra: - removed console.log * Madara: - get_filter.ts better log * Madara added sources: - Pancho Translations (SP) - Salmon Latte (EN) - Asura Light Novel (EN) - Fans Translations (EN) - Novel Lucky (TH) - new Thai language * freewebnovel: - Web NOVEL => Free Web Novel * Madara: - icon filename from id instead of name * Madara: - added filters for new sources
This commit is contained in:
@@ -11,7 +11,7 @@ export const generateAll: ScrpitGeneratorFunction = function (name) {
|
||||
filters = require(`./filters/${source.id}`);
|
||||
source.filters = filters.filters;
|
||||
} catch (e) {}
|
||||
console.log(`[${name}] Generating:`, source.id, source.filters? "\t🔎with filters🔍" : "\t🚫no filters🚫");
|
||||
console.log(`[${name}] Generating: ${source.id}${" ".repeat(20 - source.id.length)} ${source.filters ? "🔎with filters🔍" : "🚫no filters🚫"}`);
|
||||
return generator(source);
|
||||
});
|
||||
};
|
||||
@@ -22,7 +22,7 @@ const generator = function generator(source: LightNovelWPMetadata) {
|
||||
});
|
||||
|
||||
const pluginScript = `
|
||||
${LightNovelWPTemplate}
|
||||
${LightNovelWPTemplate}
|
||||
const plugin = new LightNovelWPPlugin(${JSON.stringify(source)});
|
||||
export default plugin;
|
||||
`.trim();
|
||||
|
||||
Reference in New Issue
Block a user