diff --git a/scrapypuppeteer/browser_managers/browser_downloader_handler.py b/scrapypuppeteer/browser_managers/browser_downloader_handler.py index b4c9132..0715b82 100644 --- a/scrapypuppeteer/browser_managers/browser_downloader_handler.py +++ b/scrapypuppeteer/browser_managers/browser_downloader_handler.py @@ -17,8 +17,16 @@ class BrowserDownloaderHandler(HTTPDownloadHandler): """ + Browser downloader handler. + If instantiated, executes actions in the browser with provided requests. + If given, then installed reactor must be `AsyncioSelectorReactor`. + Currently, supports 3 browser types via EXECUTION_METHOD setting: + * puppeteer -- see scrapy-puppeteer-service + * pyppeteer -- not available, since the package is not actively supported + * playwright -- see https://playwright.dev/python/ """ + EXECUTION_METHOD_SETTING = "EXECUTION_METHOD" def __init__(self, settings, browser_manager: BrowserManager, crawler=None) -> None: