Skip to content

Commit

Permalink
Merge pull request #2322 from SirGryphin/dev
Browse files Browse the repository at this point in the history
source
  • Loading branch information
dipu-bd authored Apr 4, 2024
2 parents 60ccc72 + a1d2df3 commit d167391
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions sources/en/n/novelnextz.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import logging

from lncrawl.templates.novelfull import NovelFullTemplate

logger = logging.getLogger(__name__)


class Novelnextz(NovelFullTemplate):
has_mtl = False
has_manga = False
base_url = ["https://novelnextz.com/"]

def initialize(self) -> None:
self.cleaner.bad_tag_text_pairs.update(
{
"h4": [
r"Chapter \d+",
r"^\s*(Translator|Editor):.*$",
],
"p": [
r"^\s*(Translator|Editor):.*$",
r"Bookmark this website \( ",
r"\) to update the latest novels\.",
],
"strong": r"NovelNext\.com",
}
)

0 comments on commit d167391

Please sign in to comment.