mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
Update ScrapeWebsiteTool.md (#385)
This commit is contained in:
@@ -21,6 +21,10 @@ tool = ScrapeWebsiteTool()
|
|||||||
|
|
||||||
# Initialize the tool with the website URL, so the agent can only scrap the content of the specified website
|
# Initialize the tool with the website URL, so the agent can only scrap the content of the specified website
|
||||||
tool = ScrapeWebsiteTool(website_url='https://www.example.com')
|
tool = ScrapeWebsiteTool(website_url='https://www.example.com')
|
||||||
|
|
||||||
|
# Extract the text from the site
|
||||||
|
text = tool.run()
|
||||||
|
print(text)
|
||||||
```
|
```
|
||||||
|
|
||||||
## Arguments
|
## Arguments
|
||||||
|
|||||||
Reference in New Issue
Block a user