firecrawl-crawl
ดึงเนื้อหาจำนวนมากจากทั้งเว็บไซต์หรือส่วนของไซต์ด้วยการกรองตามความลึกและเส้นทาง ค้นหาหน้าตามลิงก์จนถึงขีดจำกัดความลึกและจำนวนหน้าที่กำหนดค่าได้ พร้อมตัวกรองการรวม/ยกเว้นเส้นทางเพื่อกำหนดขอบเขตการดึงข้อมูล รองรับการรอผลงานแบบอะซิงโครนัสหรือการรอแบบซิงโครนัสพร้อมแสดงความคืบหน้าผ่านแฟล็ก --wait และ --progress มีการควบคุมการทำงานพร้อมกัน การหน่วงเวลาคำขอ และการจัดรูปแบบเอาต์พุต JSON เพื่อรวมเข้ากับเวิร์กโฟลว์ของเอเจนต์ เป็นส่วนหนึ่งของรูปแบบการเพิ่มระดับสี่ขั้นตอน: ค้นหา → ดึงข้อมูล →...
npx skills add https://github.com/firecrawl/cli --skill firecrawl-crawlfirecrawl crawl
Bulk extract content from a website. Crawls pages following links up to a depth/limit.
Prerequisite: crawl requires authentication (no keyless free tier); without credentials the CLI prompts an interactive login.
Quick start
# Crawl a docs section
firecrawl crawl "<url>" --include-paths /docs --limit 50 --wait -o .firecrawl/crawl.json
# Full crawl with depth limit
firecrawl crawl "<url>" --max-depth 3 --wait --progress -o .firecrawl/crawl.json
# Check status of a running crawl
firecrawl crawl <job-id>
Run firecrawl crawl --help for the full option list.
Done when: the crawl reaches a terminal status and the saved output under .firecrawl/ contains the expected pages.
Tips
- Use
--waitwhen you need the results immediately. It has no default timeout; use--timeout <seconds>to bound polling. Without--wait, crawl returns a job ID for async polling. - Scope crawls with
--include-pathswhenever the request names a section — crawl only the pages you need. - Crawl consumes credits per page. Check
firecrawl credit-usagebefore large crawls (credit-usagerequires authentication).
See also
- firecrawl-scrape — scrape individual pages
- firecrawl-map — discover URLs before deciding to crawl
- firecrawl-download — download site to local files (uses map + scrape)
- firecrawl-build-scrape — building bulk extraction into an app instead of running it here