Skip to content

Commit

Permalink
add luminarynovels as new source (based on MadaraTemplate)
Browse files Browse the repository at this point in the history
  • Loading branch information
ACA committed Feb 5, 2024
1 parent bdda980 commit 0ea2f2a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions sources/en/l/luminarynovels.py
Original file line number Diff line number Diff line change
@@ -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")

0 comments on commit 0ea2f2a

Please sign in to comment.