Quickstart
Start using Scrap Web with this quickstart guide
Last updated
Start using Scrap Web with this quickstart guide
Last updated
Scrap Web requires Python 3.11 or higher.
First, we recommend using to setup the Python environment.
Copy
and activate it with:
Copy
Install the dependencies:
Copy
Then install playwright:
Copy
Then you can use the agent as follows:
agent.pyCopy
ChatOpenAI
and other Langchain chat models require specific API keys. For example, for for OpenAI and Anthropic, you can set the API keys in your .env
file, such as.
.envCopy
Set up your LLM API keys
For other LLM models you can refer to the to find how to set them up with their specific API keys.