This commit is contained in:
Kiryl
2022-12-09 16:24:22 +03:00
parent b651d6d396
commit 256a1abba0
5 changed files with 29 additions and 69 deletions

View File

@@ -52,12 +52,13 @@ class EpubBook(BookSolver):
if __name__ == "__main__":
epub_file_path = f"../../books/epub/9781614382264.epub"
epub_file_path = f"../../books/epub/Deep_Learning_with_Python_Second_Editio.epub"
logger_object = BookLogger(name="epub")
logger_object.configure_book_logger(book_id=epub_file_path.split("/")[-1])
html_preprocessor = HtmlPresetsProcessor(
logger=logger_object, preset_path="../../preset/epub_presets.json")
style_preprocessor = StyleReader()
html_processor = HtmlEpubProcessor(logger=logger_object,