main -> 2023.10.8 fix "작화"
This commit is contained in:
@@ -539,7 +539,7 @@ class LogicOhli24(LogicModuleBase):
|
|||||||
ret["ret"] = False
|
ret["ret"] = False
|
||||||
ret["log"] = "이미 추가되어 있습니다."
|
ret["log"] = "이미 추가되어 있습니다."
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error("Exception:%s", e)
|
logger.error(f"Exception: {str(e)}")
|
||||||
logger.error(traceback.format_exc())
|
logger.error(traceback.format_exc())
|
||||||
ret["ret"] = False
|
ret["ret"] = False
|
||||||
ret["log"] = str(e)
|
ret["log"] = str(e)
|
||||||
@@ -596,7 +596,7 @@ class LogicOhli24(LogicModuleBase):
|
|||||||
elif len(content_code_list) > 0:
|
elif len(content_code_list) > 0:
|
||||||
for item in content_code_list:
|
for item in content_code_list:
|
||||||
url = P.ModelSetting.get("ohli24_url") + "/c/" + item
|
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)
|
# ret_data = LogicOhli24.get_auto_anime_info(self, url=url)
|
||||||
print("debug===")
|
print("debug===")
|
||||||
print(item)
|
print(item)
|
||||||
@@ -700,6 +700,7 @@ class LogicOhli24(LogicModuleBase):
|
|||||||
"_total_chapter",
|
"_total_chapter",
|
||||||
"_show_time",
|
"_show_time",
|
||||||
"_release_year",
|
"_release_year",
|
||||||
|
"_drawing",
|
||||||
]
|
]
|
||||||
description_dict = {
|
description_dict = {
|
||||||
"원제": "_otit",
|
"원제": "_otit",
|
||||||
@@ -720,6 +721,7 @@ class LogicOhli24(LogicModuleBase):
|
|||||||
"개봉년도": "_release_year",
|
"개봉년도": "_release_year",
|
||||||
"개봉일": "_opening_date",
|
"개봉일": "_opening_date",
|
||||||
"런타임": "_run_time",
|
"런타임": "_run_time",
|
||||||
|
"작화": "_drawing",
|
||||||
}
|
}
|
||||||
|
|
||||||
list_body_li = tree.xpath('//ul[@class="list-body"]/li')
|
list_body_li = tree.xpath('//ul[@class="list-body"]/li')
|
||||||
|
|||||||
Reference in New Issue
Block a user