跳到正文
Skillpedia
网页抓取198k · #631

firecrawl-build-scrape

它能做什么

这项技能帮助开发者构建一项功能,使用 Firecrawl 的抓取步骤,从某个已知的网页中提取内容。适合需要在应用中获取页面文字、链接或截图的产品团队。

适用场景

  • ✓应用已经有一个网址,并且需要该网页的内容的时候。
  • ✓你的产品需要页面内容用于搜索、摘要或数据补充的时候。
  • ✓你需要把页面的链接、元数据或截图作为应用功能的一部分的时候。

技能链接

https://github.com/firecrawl/firecrawl/blob/main/skills/firecrawl-build-scrape/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/firecrawl/firecrawl/blob/main/skills/firecrawl-build-scrape/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请为我们的应用加入一项功能:输入产品网址,返回页面的主要文字(Markdown 格式),并包括标题和价格。”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能建议要求输出 Markdown 格式,并聚焦于页面的主要内容。它还说明如何控制内容的新鲜度,使重复读取在适当的时候可以复用最近的结果。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Firecrawl Build Scrape

Use this when the application already has the URL and needs content from one page.

Use This When

  • the feature starts from a known URL
  • you need page content for retrieval, summarization, enrichment, or monitoring
  • you want the default extraction primitive before considering /interact

Default Recommendations

  • Return markdown unless the feature truly needs another format.
  • Use onlyMainContent for article-like pages where nav and chrome add noise.
  • Add waits or other rendering options only when the page needs them.

Freshness and Liveness

  • Firecrawl reuses recently indexed content, which is what makes repeat reads of the same URL fast. Set maxAge (milliseconds) to bound how old a reused copy may be, or maxAge: 0 to skip index reuse for a freshness-critical read.
  • Read metadata.cacheState and metadata.cachedAt to see what you actually got.
  • A successful scrape reports what the page returned. Whether the thing the page describes is still active is a source-specific judgment your code makes.
  • See references/freshness-and-liveness.md for the tradeoff, the metadata, and the decision rule.

Common Product Patterns

  • knowledge ingestion from known URLs
  • enrichment from a company, product, or docs page
  • pricing, changelog, and documentation extraction
  • page-level quality checks or monitoring

Escalation Rules

Implementation Notes

  • Keep the integration narrow: one feature, one URL, one extraction contract.
  • Treat /scrape as the default primitive for downstream LLM or indexing pipelines.
  • Request richer formats only when the consumer needs them, such as links, screenshots, or branding data.

Docs (Source of Truth)

Read the source-of-truth page for your project language before writing integration code:

See Also

常见问题

应该要求什么输出格式?

技能说明,除非功能需要其他格式,否则应返回 Markdown。

可以强制重新读取吗?

可以。技能描述了 maxAge 设置,将其设为零时会跳过旧结果的复用。

什么时候应该使用其他功能?

技能说明,当页面需要点击或填写表单时,应转而使用交互技能。

详情

作者的原始描述

Integrate Firecrawl `/scrape` into product code for single-page extraction. Use when an app already has a URL and needs markdown, HTML, links, screenshots, metadata, or structured page output. Prefer this skill over broader crawl patterns when the feature is page-level.

repo: firecrawl/firecrawl

热度

GitHub 星标
198k
排名
#631
许可证
AGPL-3.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能