Skip to main content
WebsiteReader crawls a starting page and discovered links, then creates documents from the extracted page text.
website_reader.py

Run the Reader

1

Set up your virtual environment

2

Install dependencies

3

Run the script

Reader Parameters

WebsiteReader also accepts the base Reader constructor parameters.
Set allowed_hosts for every crawl in v2.7.2. The fallback primary-domain check uses a hostname suffix and can admit unrelated hosts whose names end with the same text.
WebsiteReader.async_read() performs the crawl with asynchronous HTTP requests.

Next Steps