main -> 2023.09.20 ohli24 버그 픽스 (.01. 다운로드 문제 해결)a
This commit is contained in:
@@ -1087,11 +1087,16 @@ class LogicOhli24(LogicModuleBase):
|
|||||||
# logger.info(headers)
|
# logger.info(headers)
|
||||||
# logger.debug(f"LogicOhli24.headers:: {LogicOhli24.headers}")
|
# logger.debug(f"LogicOhli24.headers:: {LogicOhli24.headers}")
|
||||||
|
|
||||||
|
proxies = {
|
||||||
|
"http": "http://192.168.0.2:3138",
|
||||||
|
"https": "http://192.168.0.2:3138",
|
||||||
|
}
|
||||||
|
|
||||||
page_content = LogicOhli24.session.get(
|
page_content = LogicOhli24.session.get(
|
||||||
url,
|
url,
|
||||||
headers=LogicOhli24.headers,
|
headers=LogicOhli24.headers,
|
||||||
timeout=timeout,
|
timeout=timeout,
|
||||||
|
proxies=proxies
|
||||||
)
|
)
|
||||||
response_data = page_content.text
|
response_data = page_content.text
|
||||||
# logger.debug(response_data)
|
# logger.debug(response_data)
|
||||||
|
|||||||
Reference in New Issue
Block a user