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')