A healthy container still needs to complete a crawl
Our Compose deployment started in 121 seconds, then the recipe runner failed to locate the API port using its lookup for container port 8080 or service app. It completed no crawl. This is a runner-to-stack integration failure: the README's separate Docker example maps port 11235. Use Crawl4AI for configurable Markdown and structured extraction when you can maintain the browser setup; skip it when complete extraction from arbitrary browser-visible pages is an adoption requirement.
The distinction between a running service and useful output governs this review. Crawl4AI's quickstart separates raw Markdown from filtered Markdown, while the reporting and article tests below check whether particular details survived extraction. A missing company number and an unwanted reader comment create different problems for an application. Define the required fields and passages before choosing a crawler or its settings.
The library converts pages into Markdown and JSON
Basic Markdown conversion and rule-based extraction need no language-model API key, according to Avi Moas's article-content test. Markdown preserves text formatting such as headings, lists and links. CSS and XPath selectors identify pieces of a page, such as an article title or product price, so extraction can return named fields rather than one long document. Those fields are the structured JSON output discussed in the documentation.
The official quickstart documents model-assisted schema generation: use a model to create extraction rules, then reuse those rules for model-free extraction. The Crawl4AI README separately describes the Python library, a Docker server and Crawl4AI Cloud. With the library, browsers run in your Python process; with your Docker server, you operate the hosting; with Cloud, the vendor runs the browsers and proxies. These are separate deployment choices with different credentials.
What people use Crawl4AI for
Reporting agents, Hermes extraction and bilingual article collection appear in three attributed accounts, each with a concrete definition of success. Their authors checked retained reporting details, connected an existing instance or compared article paragraphs. These examples help identify an acceptance task for your own application: a server response, an agent connector and complete article text answer different questions about whether a workflow works.
- Buriedsignals's Spotlight account describes choosing Crawl4AI as the default scraper after checking reporting details on eight public pages. Crawl4AI and Scrapling retained every checked detail. The author retained Firecrawl for blocked pages and cases where their own IP should not contact the target.
- eXntrc's Hermes account describes creating hermes-crawl4ai for an existing Crawl4AI instance running in a separate Docker container. Installation requires the instance URL and API token, enabling the plugin, selecting the extraction backend and restarting Hermes.
- Avi Moas's Alien News test used version 0.9.4 on Windows for ten public space-research pages. Crawling took 78.28 seconds, excluding installation. All 162 compared long paragraphs across eight articles appeared in the output, alongside navigation, advertising and comments.
Moas's paragraph comparison separates content presence from content cleanliness. For retrieval-augmented generation, or RAG, an application retrieves source passages before asking a model to answer. Retaining the article supports that retrieval step; retaining comments also gives the application material written by readers. A content filter therefore needs its own retention check rather than a visual judgment that the Markdown looks cleaner.
What happened when we ran it
Our November 19 run deployed commit bf0c7925e219 with the project's own Docker Compose, with every port bound to 127.0.0.1. Deployment and health checks succeeded before the recipe runner's port lookup failed. The following table preserves each recorded step and resource snapshot, including the failed recipe and teardown. There are no completed hands-on question-and-answer results to substitute for that failure.
| November 19 step | Recorded outcome |
|---|---|
| Deploy | OK in 121 s |
| Ollama connection | OK |
| Model pull | Log shows a completed 4.7 GB layer, 122 MB/s and digest verification |
| Health check | OK in 0.2 s |
| Crawl recipe | FAILED; runner message: no API port published by the stack (container port 8080 or service app) |
| Memory at idle | 295 MiB for the Crawl4AI container, 295 MiB total |
| Memory at the later snapshot | 295 MiB for the container, 295 MiB total |
| Teardown | OK |
The runner's error names its lookup: container port 8080 or service app. The README's Docker example maps 11235:11235. That difference makes the observed outcome a failed connection between the recipe and deployment, rather than a finding that every possible API mapping was absent. The later memory snapshot is labeled "after the questions" in the run record, although the recipe produced no completed answers.
Our November 10 source run used commit cae74b2. Its configured sandbox had 3 CPUs, 8 GB RAM and image ghcr.io/astral-sh/uv:python3.12-bookworm. Our installation succeeded in 97 seconds and occupied 6,109 MB, as recorded in the November 10 command measurements. The build and pytest commands then returned unsuccessful exit codes; installation success and command success remain separate outcomes in the table.
| November 10 source check | Our recorded result |
|---|---|
| Install | Succeeded in 97 s; 160 dependencies recorded; 6,109 MB on disk |
| Build | Failed, exit 1, in 5 s |
| Tests | Failed, exit 3, in 32 s; pytest summary: 0 passed, 0 failed, 1 skipped, 39 collection/setup errors |
| pip-audit | 0 known vulnerabilities reported; 160 scanned packages recorded |
| Repository scan | 969 files; approximately 174,478 source lines; 29.3 MB checked out |
| Automation signals | 5 CI workflow files, Dockerfile, Compose file and tests directory |
The build log tail contains invalid-escape SyntaxWarnings in crypto_analysis_example.py, scraping_strategies_performance.py and demo_v0.7.5.py. Pytest stopped while importing tests/test_cloud_bugs_batch.py, where the module called sys.exit(1). Its footer says "1 skipped, 517 warnings, 39 errors in 22.57s"; another reporting path says "RESULTS: 84 passed, 2 failed out of 86 tests". The command wall time was 32 seconds. These are distinct recorded summaries, so the table retains the harness counts without adding the footers together.
Where people get stuck: scrolling, model output and server integration
Issue #731 explains how a crawl can lose earlier profiles when X recycles page elements during scrolling. In ntohidi's diagnosis, X scrolls the window, while one extraction path captures HTML only after scrolling and another scrolls a container. The thread recommends incremental window.scrollBy() calls with js_only=True, extraction at each position and deduplication by handle. Hafezparast submitted PR #1853 after discussion of the missing fix.
| Symptom | What the discussion found | Reported response |
|---|---|---|
| 'str' object has no attribute 'choices' | Issue #979 identifies response-variable reuse; chrisportela also reports a local model returning XML where JSON was expected | Users report improvement after local response-handling changes |
| Browser closes on the next request | Issue #842 traces consecutive /crawl failures to a stopped singleton Playwright instance still referenced by the application | A contributor offered a bug-fix branch; Rolnand reported success |
| Windows script works, FastAPI route fails | Issue #282 records the standalone-script/server difference | Users describe avoiding Uvicorn's --reload flag and a WindowsProactorEventLoopPolicy workaround |
| Lambda import fails on a read-only home directory | Issue #155 describes redirecting the home path to /tmp before import | Later replies encounter browser-executable, image-size and runtime problems |
The response-variable report explains why the visible exception can mislead debugging. A response object becomes a string, then error handling tries to read .choices from that string. The second exception hides the earlier parsing failure. In issue #979, the model returning XML is one reported occurrence, so the useful debugging sequence is to inspect both returned content and the code handling that content.
Other reports concern different parts of loading and deployment. The research synthesis records Page.goto: net::ERR_ABORTED reports in issue #1367, including proxies and CDP connections, and architecture mismatches in issue #240. Thunderbit's fixture test reports that an explicit wait retained eight dynamic products, a small deep crawl succeeded on three of five pages, and an HTTP 500 page received an anti-bot explanation despite having no anti-bot wall.
Repeated jobs expose browser lifecycle problems
Issue #399 records recursion errors and accumulated browser processes before a reporter described several hours without memory issues after application refactoring. The maintainer corrected the recommended version from 0.4.248 to 0.4.247, and betterthanever2's follow-up names the refactoring. The sequence contains both library guidance and an application change; attributing the outcome entirely to either would lose part of the reported history.
The consecutive-request diagnosis in issue #842 concerns a stopped singleton Playwright instance, while the thread also contains browser-closure reports after batches of pages. Docker adds another set of failures: issue #554 records an invalid base-config service, missing Chromium and a missing entrypoint file. After installing Chromium, 80Builder80 reported several working functions on a Raspberry Pi 5; a maintainer also confirmed a Docker PR was merged.
Docker tokens and MCP are separate setup choices
The README says every self-hosted endpoint needs CRAWL4AI_API_TOKEN, covering crawling, screenshots, PDFs and JavaScript execution. Its Docker example maps port 11235 and sends that token in an Authorization header to /md. This is the server credential for infrastructure you operate. Keeping the server private while connecting the application is a practical starting configuration, consistent with our loopback-bound deployment.
The README also documents a hosted MCP connection using a Cloud API key. MCP, or Model Context Protocol, lets an assistant call outside tools; the self-hosted instructions describe MCP access to your own server. A Cloud key, a Docker server token and an extraction model's key are separate credentials. Basic local Markdown and selector extraction can start without a model connection, while model-assisted extraction adds its provider configuration.
Crawl4AI vs Firecrawl, Playwright and Scrapling
Buriedsignals retained both Crawl4AI and Firecrawl in Spotlight, choosing between them by target and workflow. The eight-page reporting account selected local Crawl4AI as the default and kept Firecrawl for blocked pages and IP separation. That is a concrete operating choice rather than a universal ranking. Firecrawl's self-hosted option also matters, as GreenHell's Reddit question points out, so hosted and self-hosted comparisons need separate rows in an evaluation.
| Comparison | Reason to choose the other route | Reason to consider Crawl4AI | Basis |
|---|---|---|---|
| Firecrawl | Spotlight retained it for blocked pages and IP separation | Spotlight chose local Crawl4AI for retained reporting details | Buriedsignals's account |
| Playwright | Write browser actions directly | Use Markdown conversion, chunking and extraction helpers around rendering | Spider's architecture description |
| Scrapling | Thunderbit identifies selector self-healing as its distinction | Spotlight found Crawl4AI retained the checked details too | Thunderbit and Spotlight |
| Scrapy | OSS AI Hub recommends its ecosystem for extreme-scale work | The same review favors Crawl4AI for extraction control and local RAG | OSS AI Hub's editorial comparison |
Spider's benchmark describes Crawl4AI as driving Playwright for rendering and adding conversion and extraction helpers. Its vendor-run comparison used proxy infrastructure for Spider and Firecrawl, while Crawl4AI ran without residential proxies. The reported rates therefore belong to those configurations. For a buying decision, browser operation, proxy access and retained content are separate costs and acceptance checks even when the application ultimately makes one API call.
What the other reviews get wrong
Informatra's browser-rendering guarantee conflicts with Moas's report that NASA's iframe dashboard yielded its page shell. Its Python-only, mandatory-self-hosting description also conflicts with the official README's hosted HTTP API. Python describes the library, while the hosted quickstart includes HTTP callers. Its boilerplate description needs configuration attached: Moas retained peripheral content, and the quickstart says output is typically raw Markdown without a configured filter or generator.
Thunderbit's claim that schemas must be handwritten conflicts with the quickstart's schema-generation utility. Its broader description of no adaptive intelligence also overlooks query-directed adaptive crawling. Scrape.ly reports an adaptive run stopping after seven of eight allowed pages once confidence passed 0.7. Schema generation, adaptive stopping and selector repair describe different mechanisms; naming the first two corrects the review without equating them with self-healing selectors.
Informatra's protected-site figure of 89.7% also differs from the benchmark it discusses. Spider reports 72.0% for Crawl4AI's protected slice and 90.4% overall. Its like-for-like retrieval figures are 84.5% recall@5 for Crawl4AI and 89.0% for Firecrawl. Those retrieval results measure a different task from GPT-4o structured extraction, so combining the metrics does not produce an extraction-accuracy comparison. These figures belong to Spider's benchmark, rather than our lab run.
What the docs get wrong about Docker
The installation page calls Docker support forthcoming, while the README and package instructions document an existing server, token and REST endpoints. That stale installation heading should not determine which interfaces a reader considers. The current README gives a Docker example on port 11235, and its Python quickstart uses AsyncWebCrawler. The older video guide instead demonstrates the WebCrawler and warmup workflow against an API-pricing page.
Version labels also differ across instructions: Moas found assistant-skill documentation advertising 0.7.4 compatibility while testing engine 0.9.4. Our source measurements belong to cae74b2 and our Compose run to bf0c7925e219. The fresh November 19 GitHub lookup records 87,554 stars and a last push at 09:01:18 UTC; the release record identifies v0.9.5 on October 14, 2026, matching the readable README. These successful lookup results replace the candidate's blanket metadata uncertainty.
FAQ
Crawl4AI and Firecrawl both have self-hosted options, which is the deployment distinction raised by GreenHell on Reddit. The most useful comparison separates who runs the browsers from which content survives extraction. Spotlight's author retained both tools for different targets, while the Hermes author connected an existing local instance. Neither account turns one deployment choice into a requirement for every user.
Should I choose Crawl4AI or Firecrawl, including their self-hosted options?
Spotlight's author chose local Crawl4AI as the default and retained Firecrawl for blocked targets and IP separation. That reported operating choice gives a concrete starting point: compare target coverage and retained details alongside who operates the browsers. Include self-hosted Firecrawl in that decision, rather than treating every Firecrawl deployment as a hosted API purchase.
What do Reddit users report about Crawl4AI versus Firecrawl?
The Hermes author built a plugin connecting to an existing Crawl4AI instance after exhausting Firecrawl tokens, while GreenHell asked why another comparison omitted self-hosted Firecrawl. These Hermes and LLMDevs accounts describe specific integration and comparison concerns. They help identify questions to ask about credits and hosting, rather than supplying a poll of user preference.
Can I combine n8n and Crawl4AI for a RAG knowledge base and MCP automation?
The documented Docker server has REST endpoints and MCP access, which are the interfaces relevant to this question. The Bilibili search listing names an n8n, RAG and MCP tutorial; its title is the basis for including the question here. The official server instructions describe the available interfaces and their token configuration.
Which Crawl4AI alternatives should I consider?
Firecrawl, Playwright, Scrapling and Scrapy appear in the comparison accounts above. Their roles differ: Spotlight uses Firecrawl for selected targets, Spider describes Playwright as Crawl4AI's rendering foundation, and Thunderbit distinguishes Scrapling by selector behavior. The comparison table's sources support choosing by the part of the workflow you need to replace, rather than treating all four as equivalent packages.
What does Crawl4AI add compared with using Playwright directly?
Crawl4AI adds Markdown conversion, chunking and extraction helpers around Playwright rendering, according to Spider's architecture description. Direct Playwright use puts browser actions in your own automation code. Crawl4AI supplies additional extraction and conversion interfaces, so the practical choice is how much of that workflow you want to assemble and maintain yourself.
How does Crawl4AI compare with Scrapling for extraction and selector maintenance?
Thunderbit identifies Scrapling with selector self-healing and describes Crawl4AI's extraction schemas as static. The official quickstart adds an important distinction: Crawl4AI can generate a schema with a model and reuse it without repeated model calls. Spotlight's author separately found both tools retained the checked reporting details, which answers a content-retention question rather than a selector-maintenance question.
When should I use Crawl4AI instead of BeautifulSoup?
Crawl4AI combines browser loading, Markdown conversion and structured extraction in one documented workflow. The video guide contrasts this with selecting elements, parsing them and converting output manually using tools such as BeautifulSoup. Choose based on whether those integrated browser and conversion steps match your task; the tutorial's example demonstrates a workflow rather than a speed comparison.
How does Crawl4AI compare with ScrapeGraphAI?
The Scrape.ly tutorial points readers to ScrapeGraphAI for LLM-driven extraction, while Crawl4AI's quickstart documents both selector-based and model-assisted extraction. These documented extraction paths identify overlap in the tasks a reader might evaluate. The decision begins with whether reusable selectors or model-assisted interpretation suit the fields being collected, rather than an accuracy ranking between the products.
Should I use Crawl4AI or Browser Use for my agent's web task?
Crawl4AI's quickstart documents collecting Markdown and structured data from pages. Those extraction interfaces fit a task defined by returned content, such as article passages or product fields. Describe the required agent outcome first: collecting those fields and completing an interactive browser task are different acceptance tasks, even when both begin by opening a web page.
How do I choose a default scraper that preserves the details my investigation needs?
Buriedsignals listed required details before comparing output, including company numbers, incorporation dates, agenda links and minutes links. The Spotlight account scored tools by the share of those details retained. That procedure gives a reproducible acceptance task: save the expected details for representative pages, extract them, and compare the actual output with the list.
How can I extract structured JSON and add Crawl4AI to an agent workflow?
The quickstart documents CSS extraction and LLMExtractionStrategy, while the Hermes plugin connects an agent to an existing Crawl4AI server. These are separate configuration choices: the quickstart defines extraction, and the Hermes instructions require the instance URL, API token, plugin activation, backend selection and a Hermes restart. Select the output fields before wiring the connector into the agent.
Can I use DeepSeek with Crawl4AI for extraction?
Issue #979 includes a DeepSeek chat API report alongside response-format and parsing errors. Its response-handling discussion shows why a choices exception can hide the underlying model output: response-variable reuse changes what later error handling receives. For that reported failure, the useful inspection points are the configured model, returned content and JSON parsing path.
What we have not tested yet
Our November 19 run produced no completed crawl or checked answers. Its two 295 MiB snapshots describe the recorded deployment state rather than peak extraction memory. The model-pull excerpt includes repeated 0s markers, a completed 4.7 GB layer and 122 MB/s, but names no model and supplies no complete download timing. The source sandbox image label also leaves actual runtime and operating-system versions dependent on raw toolchain logs.
The November 10 build tail gives no terminating diagnosis, and reconciling the conflicting test summaries requires the complete logs. Pip-audit's zero known vulnerabilities across 160 recorded scanned packages is a dependency check rather than a security review of browser execution, sessions or exposed endpoints. Repository popularity and issue activity likewise give no measurement of support capacity or production reliability.
Our own extraction coverage excludes article-filter retention, iframes, virtualized scrolling, repeated-job stability, proxy configurations, authenticated sessions, Windows server integration, Lambda deployment, ARM images, the hosted API, MCP clients and an n8n RAG workflow. The Bilibili title establishes a tutorial topic, not a completed integration. Browser Use and ScrapeGraphAI also lack matched comparative outcomes here, and the other comparisons lack an independent run with matched proxies and retained-content checks.
The issue histories have release boundaries too. Issue #731 acknowledges that the X fix had not landed before a submitted PR; #979 records local patches; #155 ends without a complete Lambda solution; #1367 offers no general ERR_ABORTED fix; and #554's merged Docker PR does not settle every later complaint. Reported Windows and architecture workarounds are not universal deployment recipes. For a first acceptance task, save the expected fields and passages, use the exact deployment revision you intend to retain, and compare its returned content with that list.


