From 0ea2f2a69bd43f8b0147de39bc4b996c76516622 Mon Sep 17 00:00:00 2001 From: ACA Date: Mon, 5 Feb 2024 23:09:15 +0100 Subject: [PATCH] add luminarynovels as new source (based on MadaraTemplate) --- sources/en/l/luminarynovels.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sources/en/l/luminarynovels.py diff --git a/sources/en/l/luminarynovels.py b/sources/en/l/luminarynovels.py new file mode 100644 index 000000000..dd56f718d --- /dev/null +++ b/sources/en/l/luminarynovels.py @@ -0,0 +1,15 @@ +import logging + +from lncrawl.templates.madara import MadaraTemplate + +logger = logging.getLogger(__name__) + + +class Luminarynovels(MadaraTemplate): + has_mtl = False + has_manga = False + base_url = ["https://luminarynovels.com/"] + + def initialize(self) -> None: + # contains self-promo and discord link + self.cleaner.bad_css.add("div.chapter-warning.alert.alert-warning")