ohli24 api update 2023.01.18(01.)
anilife api update 2023.01.18(02-03)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user