Load documents by crawling from seed URLs.
Features:
- Breadth-first link discovery
- Domain/pattern restrictions
- robots.txt support
- Rate limiting
- HTML to text conversion
- Deduplication by URL
Value parameters
- config
-
Crawler configuration
- metadata
-
Additional metadata for all documents
- seedUrls
-
Starting URLs to crawl from
Attributes
- Companion
- object
- Source
- WebCrawlerLoader.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait DocumentLoaderclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Human-readable description of this loader.
Human-readable description of this loader.
Used for logging and debugging.
Attributes
- Source
- WebCrawlerLoader.scala
Estimated number of documents (if known).
Estimated number of documents (if known).
Used for progress reporting and resource allocation. Returns None if count is unknown or expensive to compute.
Attributes
- Definition Classes
- Source
- WebCrawlerLoader.scala
Load documents from this source.
Load documents from this source.
Returns an iterator of LoadResult for streaming large document sets. Each result is either a successfully loaded document or a loading error. This allows processing to continue even when some documents fail.
Attributes
- Returns
-
Iterator of load results (successes and failures)
- Source
- WebCrawlerLoader.scala
Set rate limit delay
Set exclude patterns
Set follow patterns
Set max depth
Set max pages
Set maximum queue size
Add metadata
Set whether to include query parameters
Set whether to respect robots.txt
Set whether to restrict to same domain
Add a seed URL
Add multiple seed URLs
Set request timeout
Set the policy every seed, crawled link, redirect hop and robots.txt request is checked against
Set the policy every seed, crawled link, redirect hop and robots.txt request is checked against
Attributes
- Source
- WebCrawlerLoader.scala
Inherited methods
Combine this loader with another.
Combine this loader with another.
Creates a composite loader that loads from both sources.
Attributes
- Inherited from:
- DocumentLoader
- Source
- DocumentLoader.scala
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
