We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a20210 commit b62eb61Copy full SHA for b62eb61
api/core/rag/extractor/watercrawl/provider.py
@@ -20,7 +20,7 @@ def crawl_url(self, url, options: dict | Any = None) -> dict:
20
}
21
if options.get("crawl_sub_pages", True):
22
spider_options["page_limit"] = options.get("limit", 1)
23
- spider_options["max_depth"] = options.get("depth", 1)
+ spider_options["max_depth"] = options.get("max_depth", 1)
24
spider_options["include_paths"] = options.get("includes", "").split(",") if options.get("includes") else []
25
spider_options["exclude_paths"] = options.get("excludes", "").split(",") if options.get("excludes") else []
26
0 commit comments