From 04c0e34db5f9d4d918458645febd9a6ad5d9677e Mon Sep 17 00:00:00 2001 From: projectdx Date: Tue, 13 Feb 2024 15:23:57 +0900 Subject: [PATCH] error fix --- logic_ohli24.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/logic_ohli24.py b/logic_ohli24.py index e26921c..b922fe8 100644 --- a/logic_ohli24.py +++ b/logic_ohli24.py @@ -563,9 +563,9 @@ class LogicOhli24(LogicModuleBase): week = ["월요일", "화요일", "수요일", "목요일", "금요일", "토요일", "일요일"] today = date.today() - print(today) - print() - print(today.weekday()) + # print(today) + # print() + # print(today.weekday()) url = f'{P.ModelSetting.get("ohli24_url")}/bbs/board.php?bo_table=ing&sca={week[today.weekday()]}' @@ -1279,6 +1279,7 @@ class Ohli24QueueEntity(FfmpegQueueEntity): video_hashcode = re.sub(r"index\.php\?data=", "", video_hash[-1]) self._vi = video_hashcode video_info_url = f"{video_hash[0]}//{video_hash[2]}/player/index.php?data={video_hashcode}&do=getVideo" + video_info_url = f"{video_hash[0]}//michealcdn.com/player/index.php?data={video_hashcode}&do=getVideo"f"{video_hash[0]}//{video_hash[2]}/player/index.php?data={video_hashcode}&do=getVideo" # print('hash:::', video_hash) logger.debug(f"video_info_url::: {video_info_url}")