diff --git a/sources/en/f/freewebnovel.py b/sources/en/f/freewebnovel.py index f4d62d9f8..d4afc6e39 100644 --- a/sources/en/f/freewebnovel.py +++ b/sources/en/f/freewebnovel.py @@ -9,7 +9,13 @@ class FreeWebNovelCrawler(SearchableSoupTemplate, ChapterOnlySoupTemplate): - base_url = ["https://freewebnovel.com/", "https://bednovel.com/", "https://innread.com/", "https://innnovel.com/"] + base_url = [ + "https://freewebnovel.com/", + "https://bednovel.com/", + "https://innread.com/", + "https://innnovel.com/", + "https://libread.com/" + ] def initialize(self) -> None: self.init_executor(ratelimit=2) diff --git a/sources/ru/rulate.py b/sources/ru/rulate.py index 09e4a1aad..b217edf4f 100644 --- a/sources/ru/rulate.py +++ b/sources/ru/rulate.py @@ -11,6 +11,9 @@ class RulateCrawler(Crawler): "https://tl.rulate.ru/", ] + def initialize(self): + self.cleaner.bad_css.update([".thumbnail"]) + def login(self, email: str, password: str): login_url = "https://tl.rulate.ru/" login_data = { @@ -59,9 +62,6 @@ def read_novel_info(self): logger.info("Novel author: %s", self.novel_author) possible_synopsis = soup.select_one("#Info > div:nth-child(3)") - possible_thumbnail = possible_synopsis.select_one("div.thumbnail") - if possible_thumbnail: - possible_synopsis.select_one("div.thumbnail").decompose() if possible_synopsis: self.novel_synopsis = self.cleaner.extract_contents(possible_synopsis) logger.info("Novel synopsis: %s", self.novel_synopsis)