crawl_site
Crawl a website's internal links via BFS traversal, applying filters for publication date, title, and URL pattern, while respecting robots.txt and rate limits. Results are returned as JSON and stored in SQLite.
Instructions
BFS 全站爬取(谷歌爬虫式):从 start_url 遍历站内所有内链。
筛选:published_after/before(ISO 时间,发布时间优先、抓取时间兜底)、 title_contains/title_exclude(标题包含)、url_pattern(glob/regex 模式)。 默认遵守 robots.txt 并按 0.5s/请求限速,可关闭。 结果 JSON 返回并持久化到 SQLite。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | ||
| max_pages | No | ||
| start_url | Yes | ||
| rate_limit | No | ||
| url_pattern | No | ||
| title_exclude | No | ||
| respect_robots | No | ||
| title_contains | No | ||
| published_after | No | ||
| include_external | No | ||
| published_before | No |