Add disable image, css, fonts option with CDP (#1626)

Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
This commit is contained in:
Azizul Haque Ananto
2025-11-29 03:27:05 +01:00
committed by GitHub
parent 368d5d4e05
commit 409e0844a7
5 changed files with 59 additions and 2 deletions

View File

@@ -28,6 +28,10 @@ def get_config_headless() -> bool:
return os.environ.get('HEADLESS', 'true').lower() == 'true'
def get_config_disable_media() -> bool:
return os.environ.get('DISABLE_MEDIA', 'false').lower() == 'true'
def get_flaresolverr_version() -> str:
global FLARESOLVERR_VERSION
if FLARESOLVERR_VERSION is not None: