Prerequisites
The following example requires thebeautifulsoup4 library.
Example
The following agent will read the contents of a website.cookbook/91_tools/website_tools.py
WebsiteTools exposes a read_url function to read a website’s contents, or an add_website_to_knowledge function when a Knowledge instance is passed in.
beautifulsoup4 library.