Initialises a WebsiteInput instance by retrieving the website’s text content and storing it in the content attribute. It also contains a retry mechanism if a connection error or timeout occured during the request.
__init__(url)
Arguments
url (str)
The URL of the webpage to fetch content from.
Raises
httpx.RequestError
If a network-related error occurs.
httpx.HTTPStatusError
If the response contains an error HTTP status code.