
# pyppeteer logging level
PUPPETEER_LOGGING_LEVEL = 'WARNING'

# pyppeteer timeout
PUPPETEER_DOWNLOAD_TIMEOUT = 60

# pyppeteer browser window
PUPPETEER_WINDOW_WIDTH = 1400
PUPPETEER_WINDOW_HEIGHT = 700

# pyppeteer settings
PUPPETEER_HEADLESS = True  # 无头
PUPPETEER_EXECUTABLE_PATH = 'D:/Package/Chromium89/chrome.exe'
PUPPETEER_IGNORE_HTTPS_ERRORS = False
PUPPETEER_SLOW_MO = None
PUPPETEER_IGNORE_DEFAULT_ARGS = False
PUPPETEER_HANDLE_SIGINT = True
PUPPETEER_HANDLE_SIGTERM = True
PUPPETEER_HANDLE_SIGHUP = True
PUPPETEER_DUMPIO = True
PUPPETEER_DEVTOOLS = False
PUPPETEER_AUTO_CLOSE = False
PUPPETEER_PRETEND = True
# pyppeteer args
PUPPETEER_DISABLE_EXTENSIONS = True
PUPPETEER_HIDE_SCROLLBARS = True
PUPPETEER_MUTE_AUDIO = True
PUPPETEER_NO_SANDBOX = True
PUPPETEER_DISABLE_SETUID_SANDBOX = True
PUPPETEER_DISABLE_GPU = True

# ignore resource types, ResourceType will be one of the following: ``document``,
# ``stylesheet``, ``image``, ``media``, ``font``, ``script``,
#  ``texttrack``, ``xhr``, ``fetch``, ``eventsource``, ``websocket``,
#  ``manifest``, ``other``.
PUPPETEER_IGNORE_RESOURCE_TYPES = []
PUPPETEER_SCREENSHOT = None
PUPPETEER_SLEEP = 1
ENABLE_REQUEST_INTERCEPTION = True

PUPPETEER_USER_DIR = None


# pyppeteer logging level
PUPPETEER_LOGGING_LEVEL = 'WARNING'

# pyppeteer timeout
PUPPETEER_DOWNLOAD_TIMEOUT = 60

# pyppeteer browser window
PUPPETEER_WINDOW_WIDTH = 1400
PUPPETEER_WINDOW_HEIGHT = 700

# pyppeteer settings
PUPPETEER_HEADLESS = True  # 无头
PUPPETEER_EXECUTABLE_PATH = 'D:/Package/Chromium89/chrome.exe'
PUPPETEER_IGNORE_HTTPS_ERRORS = False
PUPPETEER_SLOW_MO = None
PUPPETEER_IGNORE_DEFAULT_ARGS = False
PUPPETEER_HANDLE_SIGINT = True
PUPPETEER_HANDLE_SIGTERM = True
PUPPETEER_HANDLE_SIGHUP = True
PUPPETEER_DUMPIO = True
PUPPETEER_DEVTOOLS = False
PUPPETEER_AUTO_CLOSE = False
PUPPETEER_PRETEND = True
# pyppeteer args
PUPPETEER_DISABLE_EXTENSIONS = True
PUPPETEER_HIDE_SCROLLBARS = True
PUPPETEER_MUTE_AUDIO = True
PUPPETEER_NO_SANDBOX = True
PUPPETEER_DISABLE_SETUID_SANDBOX = True
PUPPETEER_DISABLE_GPU = True

# ignore resource types, ResourceType will be one of the following: ``document``,
# ``stylesheet``, ``image``, ``media``, ``font``, ``script``,
#  ``texttrack``, ``xhr``, ``fetch``, ``eventsource``, ``websocket``,
#  ``manifest``, ``other``.
PUPPETEER_IGNORE_RESOURCE_TYPES = []
PUPPETEER_SCREENSHOT = None
PUPPETEER_SLEEP = 1
ENABLE_REQUEST_INTERCEPTION = True

PUPPETEER_USER_DIR = None

# pyppeteer logging level # pyppeteer timeout # pyppeteer browser window # pyppeteer settings # 无头 # pyppeteer args # ignore resource types, ResourceType will be one of the following: ``document``, # ``stylesheet``, ``image``, ``media``, ``font``, ``script``, #  ``texttrack``, ``xhr``, ``fetch``, ``eventsource``, ``websocket``, #  ``manifest``, ``other``.