main -> 2023.08.07 ohli24 버그 픽스 (.01. 다운로드 문제 해결)

This commit is contained in:
2023-08-07 19:06:08 +09:00
parent 1b76d36352
commit 145e277895

View File

@@ -1165,7 +1165,7 @@ class Ohli24QueueEntity(FfmpegQueueEntity):
# Get episode info from OHLI24 site # Get episode info from OHLI24 site
def make_episode_info(self): def make_episode_info(self):
try: try:
base_url = "https://ohli24.org" base_url = "https://ohli24.live"
iframe_url = "" iframe_url = ""
# https://ohli24.org/e/%EB%85%B9%EC%9D%84%20%EB%A8%B9%EB%8A%94%20%EB%B9%84%EC%8A%A4%EC%BD%94%206%ED%99%94 # https://ohli24.org/e/%EB%85%B9%EC%9D%84%20%EB%A8%B9%EB%8A%94%20%EB%B9%84%EC%8A%A4%EC%BD%94%206%ED%99%94
@@ -1209,7 +1209,7 @@ class Ohli24QueueEntity(FfmpegQueueEntity):
# matched_line = match.group(0) # matched_line = match.group(0)
# print(matched_line) # print(matched_line)
# iframe_url = "https://ohli24.org/" # iframe_url = "https://ohli24.org/"
iframe_src = f"https://ohli24.org{iframe_url}" iframe_src = f"https://ohli24.live{iframe_url}"
iframe_html = LogicOhli24.get_html(iframe_src, headers=headers, timeout=600) iframe_html = LogicOhli24.get_html(iframe_src, headers=headers, timeout=600)