From 4527e54647ff1312601e4d4178844a864a626ec2 Mon Sep 17 00:00:00 2001 From: projectdx Date: Sat, 28 Jan 2023 20:10:41 +0900 Subject: [PATCH] ohli24 api update 2023.01.18(01.) anilife api update 2023.01.18(02-03) --- logic_anilife.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/logic_anilife.py b/logic_anilife.py index 344cc57..459365e 100644 --- a/logic_anilife.py +++ b/logic_anilife.py @@ -1,4 +1,5 @@ import os +import subprocess import sys import threading import traceback @@ -579,6 +580,9 @@ class LogicAniLife(LogicModuleBase): return vod_url except Exception as e: logger.error("Exception:%s", e) + result = subprocess.run(["playwright", "install"], stdout=subprocess.PIPE, text=True) + print(result.stdout) + logger.error(traceback.format_exc()) finally: await browser.close()