firecrawl-scrape

Извлекает чистый Markdown из любого URL, включая SPA с рендерингом JavaScript. Используйте этот навык, когда пользователь предоставляет URL и хочет получить его содержимое, говорит "scrape",…

npx skills add https://github.com/firecrawl/firecrawl-codex-plugin --skill firecrawl-scrape

firecrawl scrape

Scrape one or more URLs. Returns clean, LLM-optimized markdown. Multiple URLs are scraped concurrently.

When to use

  • You have a specific URL and want its content
  • The page is static or JS-rendered (SPA)
  • Step 2 in the workflow escalation pattern: search → scrape → map → crawl → interact

Quick start

# Basic markdown extraction
firecrawl scrape "<url>" -o .firecrawl/page.md

# Main content only, no nav/footer
firecrawl scrape "<url>" --only-main-content -o .firecrawl/page.md

# Wait for JS to render, then scrape
firecrawl scrape "<url>" --wait-for 3000 -o .firecrawl/page.md

# Multiple URLs (each saved to .firecrawl/)
firecrawl scrape https://example.com https://example.com/blog https://example.com/docs

# Get markdown and links together
firecrawl scrape "<url>" --format markdown,links -o .firecrawl/page.json

# Ask a question about the page
firecrawl scrape "https://example.com/pricing" --query "What is the enterprise plan price?"

Options

OptionDescription
-f, --format <formats>Output formats: markdown, html, rawHtml, links, screenshot, json
-Q, --query <prompt>Ask a question about the page content (5 credits)
-HInclude HTTP headers in output
--only-main-contentStrip nav, footer, sidebar — main content only
--wait-for <ms>Wait for JS rendering before scraping
--include-tags <tags>Only include these HTML tags
--exclude-tags <tags>Exclude these HTML tags
-o, --output <path>Output file path

Tips

  • Prefer plain scrape over --query. Scrape to a file, then use grep, head, or read the markdown directly — you can search and reason over the full content yourself. Use --query only when you want a single targeted answer without saving the page (costs 5 extra credits).
  • Try scrape before interact. Scrape handles static pages and JS-rendered SPAs. Only escalate to interact when you need interaction (clicks, form fills, pagination).
  • Multiple URLs are scraped concurrently — check firecrawl --status for your concurrency limit.
  • Single format outputs raw content. Multiple formats (e.g., --format markdown,links) output JSON.
  • Always quote URLs — shell interprets ? and & as special characters.
  • Naming convention: .firecrawl/{site}-{path}.md

See also

Больше skills от firecrawl

oracle
firecrawl
Лучшие практики использования oracle CLI (объединение подсказок и файлов, движки, сессии и шаблоны прикрепления файлов).
official
pinecone
firecrawl
Управляемая векторная база данных для производственных AI-приложений. Полностью управляемая, с автоматическим масштабированием, гибридным поиском (плотный + разреженный), фильтрацией по метаданным и пространствами имён.
official
sentence-transformers
firecrawl
Фреймворк для современных эмбеддингов предложений, текстов и изображений. Предоставляет более 5000 предварительно обученных моделей для семантического сходства, кластеризации и поиска.…
official
wp-playground
firecrawl
Используется для рабочих процессов WordPress Playground: быстрые одноразовые экземпляры WP в браузере или локально через @wp-playground/cli (server, run-blueprint, build-snapshot),…
official
wp-plugin-development
firecrawl
Используйте при разработке плагинов WordPress: архитектура и хуки, активация/деактивация/удаление, административный интерфейс и Settings API, хранение данных, cron/задачи, безопасность…
official
wp-project-triage
firecrawl
Используйте, когда требуется детерминированная проверка репозитория WordPress (плагин/тема/блочная тема/WP Core/Gutenberg/полный сайт), включая инструменты/тесты/версии…
official
wp-rest-api
firecrawl
Используйте при создании, расширении или отладке конечных точек/маршрутов REST API WordPress: register_rest_route, классы контроллеров WP_REST_Controller, схема/аргументы…
official
wp-wpcli-and-ops
firecrawl
Использовать при работе с WP-CLI (wp) для операций с WordPress: безопасный поиск-замена, экспорт/импорт БД, управление плагинами/темами/пользователями/контентом, cron, очистка кэша,…
official