Skip to main content

How do I crawl a website?

  1. Go to the Knowledge Base of the Library you want to add knowledge to.
  2. Click Add Knowledge button.
Add Knowledge
  1. Select Crawl website from the Add Knowledge window.
Crawl Website
The page will be changed to enable you to crawl a website.
Crawl Website Page
  1. Paste the URL of the site you want to crawl in the URL field.
Paste URL
  1. Click Submit button. Once submitted, it will take some time to crawl the website. You can check how many pages are currently found in the bottom left corner of the Crawl Website Section.
Crawled pages
  1. Once the crawling is done, a window will show you the crawled pages and the number of credits that will be consumed to add the pages to the knowledge base.
Credits
You can selectively include crawled pages in your knowledge base by using the checkboxes located in the third column of the table. For instance, in this case, I opted to exclude the Log in to DoNoHarm page from being added to the knowledge base. When you exclude a page, it will also result in a deduction of the credits used, based on the credit value associated with the excluded page.
Excluded page
  1. Click on the Submit button in the window to confirm and add it to your library.

It’s scraping unnecessary content. How do I refine what I scrape?

You can open the Advanced accordion and use selectors to select the content you want to scrape in the URL.
  1. Open the Advanced accordion by clicking on it.
Open Advanced
  1. Input the selectors of the content you want to scrape in the text field. Thse selectors are used to select the content you want to scrape in the URL.
For example, you have a page that has the following code section:
Sample HTML Code
And you only want to scrape the text in Inclusive Design and Prior Art. You can use the following CSS selector to scrape those specific content.
CSS Selector
  1. Click on Submit button.
Submit
Once submitted, a window will appear showing how much credits you will use to scrape.
Submit Window
An error will appear in the window if the selector you inputted is invalid. Make sure that the selector you’re using is valid to proceed.
  1. Click on the Submit button in the window to confirm the scraping and add it to your library.
Confirm Submit

Advanced Scraping Output