Add URLs to Scrape
You can interact with this API by sending a POST request. This API allows you to crawl and train URLS.
API Endpoint
The following endpoint/URL should be used in order to access this API:
Request Headers
The API must have the following request headers:
Request Body
The API requires the following parameters in the request body:
website_urls
(Type: List, Required) - List of website URLs to scrape.max_urls_to_scrape
(Type: Integer, Required) - Maximum number of URLs to scrape.follow_links
(Type: Boolean, Optional) - Whether to follow links found on the scraped pages.auto_scraping
(Type: Boolean, Optional) - Whether to enable automatic scraping of websites.use_readability
(Type: Boolean, Optional) - If enabled, readability is applied to URLs and only text content is extracted.use_advance_scraper
(Type: Boolean, Optional) - If enabled, the chatbot will use the Advanced Scraper for scraping.scrape_images
(Type: Boolean, Optional) - If enabled, images will also be scraped from the websites.scroll_to_end
(Type: Boolean, Optional) - Whether to scroll to the end of the page during scraping.wait_for
(Type: Integer, Optional) - Time in seconds to wait for page loading before scraping.chatbot_uuid
(Type: UUID, Required) - Noneinitiate_training
(Type: Boolean, Optional) - Start training after scraping the urls.
Response Example
Request Example
Here's an example of the request:
Learn More - https://app.stammer.ai/en/api-docs/chatbot/QA/
Last updated