error fix
This commit is contained in:
@@ -563,9 +563,9 @@ class LogicOhli24(LogicModuleBase):
|
|||||||
|
|
||||||
week = ["월요일", "화요일", "수요일", "목요일", "금요일", "토요일", "일요일"]
|
week = ["월요일", "화요일", "수요일", "목요일", "금요일", "토요일", "일요일"]
|
||||||
today = date.today()
|
today = date.today()
|
||||||
print(today)
|
# print(today)
|
||||||
print()
|
# print()
|
||||||
print(today.weekday())
|
# print(today.weekday())
|
||||||
|
|
||||||
url = f'{P.ModelSetting.get("ohli24_url")}/bbs/board.php?bo_table=ing&sca={week[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])
|
video_hashcode = re.sub(r"index\.php\?data=", "", video_hash[-1])
|
||||||
self._vi = video_hashcode
|
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]}//{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)
|
# print('hash:::', video_hash)
|
||||||
logger.debug(f"video_info_url::: {video_info_url}")
|
logger.debug(f"video_info_url::: {video_info_url}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user