p.chromium.launch(headless=True)
, we are launching a headless instance of Chromium.
Headless mode means that the browser is running without a graphical user interface.
In the below example we’ll use the AsyncChromiumLoader
to load the page, and then the Html2TextTransformer
to strip out the HTML tags and other semantic information.
nest_asyncio
before loading the documents like this: