fix: Add no_sandbox=True to Zendriver start calls for Docker root support
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
title: "애니 다운로더"
|
||||
version: "0.5.7"
|
||||
version: "0.5.8"
|
||||
package_name: "anime_downloader"
|
||||
developer: "projectdx"
|
||||
description: "anime downloader"
|
||||
|
||||
@@ -59,9 +59,9 @@ async def fetch_html(url: str, timeout: int = 60, browser_path: str = None) -> d
|
||||
|
||||
# 브라우저 시작
|
||||
if exec_path:
|
||||
browser = await zd.start(headless=True, browser_executable_path=exec_path)
|
||||
browser = await zd.start(headless=True, browser_executable_path=exec_path, no_sandbox=True)
|
||||
else:
|
||||
browser = await zd.start(headless=True)
|
||||
browser = await zd.start(headless=True, no_sandbox=True)
|
||||
|
||||
page = await browser.get(url)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user