From 301806a90686643bd694abbc21c7cb501858332d Mon Sep 17 00:00:00 2001 From: projectdx Date: Wed, 20 Sep 2023 14:40:13 +0900 Subject: [PATCH] =?UTF-8?q?main=20->=202023.09.20=20ohli24=20=EB=B2=84?= =?UTF-8?q?=EA=B7=B8=20=ED=94=BD=EC=8A=A4=20(.01.=20=EB=8B=A4=EC=9A=B4?= =?UTF-8?q?=EB=A1=9C=EB=93=9C=20=EB=AC=B8=EC=A0=9C=20=ED=95=B4=EA=B2=B0)a?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logic_ohli24.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/logic_ohli24.py b/logic_ohli24.py index beaa11b..ed9e7b0 100644 --- a/logic_ohli24.py +++ b/logic_ohli24.py @@ -1077,6 +1077,7 @@ class LogicOhli24(LogicModuleBase): if LogicOhli24.session is None: LogicOhli24.session = requests.session() + LogicOhli24.session.verify = False # logger.debug('get_html :%s', url) # LogicOhli24.headers["Referer"] = "" if referer is None else referer # logger.debug(f"referer:: {referer}") @@ -1085,11 +1086,12 @@ class LogicOhli24(LogicModuleBase): # logger.info(headers) # logger.debug(f"LogicOhli24.headers:: {LogicOhli24.headers}") + page_content = LogicOhli24.session.get( url, headers=LogicOhli24.headers, timeout=timeout, - verify=False, + ) response_data = page_content.text # logger.debug(response_data)