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:
@@ -47,7 +47,7 @@ class LightNovelWPPlugin implements Plugin.PluginBase {
|
||||
const $ = load(await r.text());
|
||||
const title = $("title").text().trim();
|
||||
if (this.getHostname(url) != this.getHostname(r.url) ||
|
||||
title == "Bot Verification" || title == "You are being redirected...")
|
||||
title == "Bot Verification" || title == "You are being redirected..." || title == "Un instant..." || title == "Just a moment..." || title == "Redirecting...")
|
||||
throw new Error("Captcha error, please open in webview");
|
||||
|
||||
return ($);
|
||||
|
||||
Reference in New Issue
Block a user