Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewZMSU committed Dec 20, 2024
1 parent a970695 commit a64ed18
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a64ed18

Please sign in to comment.