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 os
|
||||||
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
import threading
|
import threading
|
||||||
import traceback
|
import traceback
|
||||||
@@ -579,6 +580,9 @@ class LogicAniLife(LogicModuleBase):
|
|||||||
return vod_url
|
return vod_url
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error("Exception:%s", e)
|
logger.error("Exception:%s", e)
|
||||||
|
result = subprocess.run(["playwright", "install"], stdout=subprocess.PIPE, text=True)
|
||||||
|
print(result.stdout)
|
||||||
|
|
||||||
logger.error(traceback.format_exc())
|
logger.error(traceback.format_exc())
|
||||||
finally:
|
finally:
|
||||||
await browser.close()
|
await browser.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user