From acaacf842f87067f484fc2c83d8cead26613d0f6 Mon Sep 17 00:00:00 2001 From: ThePhaseless Date: Thu, 20 Feb 2025 20:36:33 +0000 Subject: [PATCH] fix deprecation warning --- src/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils.py b/src/utils.py index ac89b22..9b05bcf 100644 --- a/src/utils.py +++ b/src/utils.py @@ -15,7 +15,7 @@ if len(logger.handlers) == 0: def get_sb( proxy: str | None = Header( default=None, - example="username:password@host:port", + examples=["username:password@host:port"], description="Override default proxy from env", ), ): @@ -23,7 +23,6 @@ def get_sb( with SB( uc=True, headless=USE_HEADLESS, - headed=not USE_HEADLESS, locale_code="en", ad_block=True, proxy=proxy or PROXY,