main -> 2023.08.07 ohli24 버그 픽스 (.01. 다운로드 문제 해결)
This commit is contained in:
@@ -955,7 +955,7 @@ class LogicOhli24(LogicModuleBase):
|
|||||||
|
|
||||||
def check_for_new_post(self):
|
def check_for_new_post(self):
|
||||||
# Get the HTML content of the page
|
# Get the HTML content of the page
|
||||||
res = requests.get("https://ohli24.org/bbs/board.php?bo_table=ing")
|
res = requests.get("https://ohli24.live/bbs/board.php?bo_table=ing")
|
||||||
soup = BeautifulSoup(res.content, "html.parser")
|
soup = BeautifulSoup(res.content, "html.parser")
|
||||||
|
|
||||||
# Find the latest post on the page
|
# Find the latest post on the page
|
||||||
@@ -964,7 +964,7 @@ class LogicOhli24(LogicModuleBase):
|
|||||||
soup.find("div", class_="img-item")
|
soup.find("div", class_="img-item")
|
||||||
.find("img", class_="wr-img")
|
.find("img", class_="wr-img")
|
||||||
.get("src")
|
.get("src")
|
||||||
.replace("..", "https://ohli24.org")
|
.replace("..", "https://ohli24.live")
|
||||||
)
|
)
|
||||||
|
|
||||||
logger.debug(f"latest_post:: {latest_post}")
|
logger.debug(f"latest_post:: {latest_post}")
|
||||||
|
|||||||
Reference in New Issue
Block a user