From f1d5f1db681f6a94220fce3a1cc260e4092af299 Mon Sep 17 00:00:00 2001 From: projectdx Date: Sun, 8 Oct 2023 22:29:02 +0900 Subject: [PATCH] =?UTF-8?q?main=20->=202023.10.8=20fix=20"=EC=9E=91?= =?UTF-8?q?=ED=99=94"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logic_ohli24.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/logic_ohli24.py b/logic_ohli24.py index b406ec8..e26921c 100644 --- a/logic_ohli24.py +++ b/logic_ohli24.py @@ -539,7 +539,7 @@ class LogicOhli24(LogicModuleBase): ret["ret"] = False ret["log"] = "이미 추가되어 있습니다." except Exception as e: - logger.error("Exception:%s", e) + logger.error(f"Exception: {str(e)}") logger.error(traceback.format_exc()) ret["ret"] = False ret["log"] = str(e) @@ -596,7 +596,7 @@ class LogicOhli24(LogicModuleBase): elif len(content_code_list) > 0: for item in content_code_list: url = P.ModelSetting.get("ohli24_url") + "/c/" + item - print("scheduling url: %s", url) + logger.debug(f"scheduling url: {url}") # ret_data = LogicOhli24.get_auto_anime_info(self, url=url) print("debug===") print(item) @@ -700,6 +700,7 @@ class LogicOhli24(LogicModuleBase): "_total_chapter", "_show_time", "_release_year", + "_drawing", ] description_dict = { "원제": "_otit", @@ -720,6 +721,7 @@ class LogicOhli24(LogicModuleBase): "개봉년도": "_release_year", "개봉일": "_opening_date", "런타임": "_run_time", + "작화": "_drawing", } list_body_li = tree.xpath('//ul[@class="list-body"]/li')