From 947d73869e93b22a5a2c50ae14adeba34ae6542b Mon Sep 17 00:00:00 2001 From: zGadli Date: Fri, 24 Nov 2023 20:43:05 +0530 Subject: [PATCH] Update scribblehub.py --- sources/en/s/scribblehub.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sources/en/s/scribblehub.py b/sources/en/s/scribblehub.py index 3088f0b46..2ff077371 100644 --- a/sources/en/s/scribblehub.py +++ b/sources/en/s/scribblehub.py @@ -75,6 +75,9 @@ def parse_search_item(self, tag: Tag) -> SearchResult: ) def visit_novel_page_in_browser(self) -> BeautifulSoup: + url_parts = self.novel_url.split("/") + self.novel_url = f'{url_parts[0]}/{url_parts[2]}/{url_parts[3]}/{url_parts[4]}/' + logger.debug(self.novel_url) self.visit(self.novel_url) self.browser.wait(".fictionposts-template-default")