diff --git a/spider/task.py b/spider/task.py index 3398973..0425ce4 100644 --- a/spider/task.py +++ b/spider/task.py @@ -1053,7 +1053,7 @@ def playwright_get_user_profile(cookies, username=None): with sync_playwright() as playwright: update_windows_distinguish() browser = playwright.chromium.launch( - headless=False, args=['--start-maximized'], executable_path=path + headless=True, args=['--start-maximized'], executable_path=path ) context = browser.new_context(no_viewport=True) context.add_cookies(parse_cookies(cookies))