SDK (Python/TypeScript)
Extractors
Extractors are functions that extract information from a webpage.
extract_text
Natural language description of the element to extract text from.
Extracted text string(s) within the requested element. If there are multiple, separate text chunks within the element (i.e. the element description is all financial headlines on a page), these chunks will be separated by newline characters.
Raises ValueError if the API request fails or if the API key is not set.