LLMs Technical Reviews

How are pages fetched and rendered?

Plain HTTP vs headless browser; JS rendering; waiting strategy; supported content types (PDF, images).

Verdict

If you need cheap HTTP and full browser rendering in one tool, use Firecrawl or Scrapling. For static article pages, Trafilatura is the lightest option. For sites that block ordinary automation, Selenium-Driverless and Botright are fetch layers to put under an extractor.

Multi-tier fetchers. Firecrawl races its engines in a staggered waterfall: plain fetch, a Playwright service and, on the hosted service only, the closed Fire Engine. It parses PDFs, Office files and images in the same pipeline. Scrapling has three tiers that return one Response type: curl_cffi with browser TLS impersonation, Playwright, and a Patchright stealth browser with network_idle and wait_selector waits. Crawl4AI defaults to Playwright with wait_for, keeps an aiohttp strategy, and has a separate pypdf pipeline.

Browser only. Browserless starts a fresh browser for each session behind /content, /screenshot and /pdf. Parsera always uses headless Firefox, waits for networkidle and appends every iframe’s HTML. ScrapeGraphAI loads at domcontentloaded, and its use_soup HTTP path raises. CyberScraper 2077 always uses Patchright, with aiohttp over Tor for .onion. OmniParse shares one headless Selenium Chrome. ScraperAI opens a visible Selenium Chrome and just sleeps 1 s after each load.

Stealth drivers. Selenium-Driverless drives real Chrome over CDP without chromedriver. get waits only for the load event, and page_source returns raw HTML. Botright launches a locally installed Chromium, headful by default, with a sampled fingerprint, and you then write ordinary Playwright code.

HTTP only. Trafilatura uses urllib3 or pycurl with a 20 MB cap and an SSRF guard. AutoScraper makes one requests.get with a Chrome 84 User-Agent. Spider-Flow fetches with Jsoup, treats only HTTP 200 as success, and needs an external Selenium plugin to render JavaScript.

No fetching. llm-scraper works on a Playwright Page you navigated yourself. Crawlab starts your spider as a subprocess and fetches nothing itself. Turndown converts HTML you already have.

Pick: Scrapling to move one site from HTTP to a stealth browser by changing one line. Pick: Firecrawl or Crawl4AI for mixed HTML and PDF input behind a single call. Pick: Browserless to host browsers for your own Puppeteer or Playwright code, or Selenium-Driverless (non-commercial licence) when Playwright gets blocked.

Per-project answers

firecrawl/firecrawl

answered

Plain HTTP vs Headless Browser: Pages are fetched through a waterfall of engines defined in scrapeURL/engines/index.ts:82-104 — the list includes fetch (plain HTTP via undici), playwright (a Playwright microservice), fire-engine;chrome-cdp (proprietary Chrome CDP service), and fire-engine;tlsclient (TLS-client engine). The fetch engine (engines/fetch/index.ts:86-229) uses undici.fetch with redirect-following and charset detection from HTTP headers and HTML <meta> tags. Headless browser rendering goes through either the Playwright microservice (engines/playwright/index.ts:8-53) which POSTs the URL plus wait/timeout/headers, or the Fire Engine's Chrome CDP (engines/fire-engine/index.ts:346-627) which sends a rich request with actions, wait, screenshot, mobile, geolocation, and proxy parameters, then polls for completion (performFireEngineScrape, lines 70-308).

JS Rendering: JS rendering is always-on for the Chrome CDP engine since it runs actual Chrome. The TLS Client engine (tlsclient) is a lighter non-JS engine for speed. The fetch engine does zero JS rendering.

Waiting Strategy: The waitFor option controls how long the browser waits before capturing; default is 0ms, but 2000ms for branding scrapes (fire-engine/index.ts:63). It's transformed into a wait action (lines 389-395). The overall scrape timeout defaults to 300s (scrapeURL/index.ts:966) and each engine has its own max-reasonable-time, 30s for Playwright (engines/playwright/index.ts:65-67), 15s for fetch (engines/fetch/index.ts:231-233).

Content Types Supported: The system handles HTML/web pages (all engines), PDFs (engines/pdf), Office documents (DOCX, XLSX, PPTX, ODT, CSV, EPUB, RTF via lib/document-formats.ts:1-32), images (PNG, JPEG, TIFF, GIF, WebP, AVIF via lib/image-formats.ts:1-34), plain text and JSON. PDFs can be processed by FirePDF for OCR. Binary files can be returned as rawBase64.

D4Vinci/Scrapling

answered

Scrapling has three fetching tiers in scrapling/fetchers/:

Plain HTTP (Fetcher/AsyncFetcher/FetcherSession) — Built on curl_cffi in scrapling/engines/static.py. Impersonates browser TLS fingerprints via impersonate (defaults to latest Chrome). Supports GET/POST/PUT/DELETE, HTTP/3, session persistence, 3 retries by default, and SSRF-safe redirects. No JS rendering.

Dynamic browser (DynamicFetcher/DynamicSession) — Playwright Chromium via scrapling/engines/_browsers/_controllers.py. Runs a real browser (headless default), loads JS, supports load_dom, network_idle (500ms idle wait), wait_selector, and custom page_action. Connects to remote browsers via CDP (cdp_url). Ad blocking across ~3,500 domains from scrapling/engines/toolbelt/ad_domains.py. Page pooling in scrapling/engines/_browsers/_page.py.

Stealthy browser (StealthyFetcher/StealthySession) — Playwright/Patchright via scrapling/engines/_browsers/_stealth.py. Adds solve_cloudflare (detects and clicks turnstile/interstitial challenges at randomized coordinates, retries up to 3 times), canvas noise (hide_canvas), WebRTC proxy locking (block_webrtc), and WebGL preservation. Uses Patchright (Playwright fork) for undetectable automation. Realistic user-agent generation via browserforge in scrapling/engines/toolbelt/fingerprints.py.

Content types: ResponseFactory in scrapling/engines/toolbelt/convertor.py handles HTML by extracting DOM content and non-HTML (PDFs, images) by returning raw response body. All return a unified Response object (subclass of Selector).

unclecode/crawl4ai

answered

Plain HTTP vs browser. AsyncPlaywrightCrawlerStrategy (crawl4ai/async_crawler_strategy.py:46) is the default, using Playwright to launch Chromium. The BrowserConfig (proxy, headless, extra args) is passed to BrowserManager which manages the browser lifecycle via PlaywrightAdapter. A plain-HTTP path exists via the HTTPCrawlerConfig type and the fallback aiohttp-based fetch method in the same module. JS rendering. Every page is loaded in a real Playwright browser context; BrowserAdapter (crawl4ai/browser_adapter.py) wraps the Playwright page and runs user-supplied js_code before extraction. Waiting strategy. CrawlerRunConfig supports wait_for, wait_until, wait_for_images, screenshot_wait_for; the page is waited on per these directives before extraction begins. The C4A-Script DSL (crawl4ai/script/c4ai_script.py:139) adds fine-grained WAIT commands (by seconds, CSS selector, or text content) that compile to JavaScript polling loops. Content types. PDFs use a separate pipeline: PDFCrawlerStrategy (crawl4ai/processors/pdf/__init__.py:49) returns a placeholder response, then PDFContentScrapingStrategy (line 79) downloads the PDF with requests, validates every redirect hop for SSRF, and processes it with NaivePDFProcessorStrategy. Screenshots and PDF snapshots of rendered pages are produced via Playwright's native screenshot/PDF methods (deploy/docker/server.py:742-818).

ScrapeGraphAI/Scrapegraph-ai

answered

Plain HTTP vs. headless browser. FetchNode has two paths controlled by the use_soup config flag (default False). When use_soup=True, it uses requests.get (plain HTTP, no JS). When use_soup=False, it delegates to ChromiumLoader, which spins up a real headless Chromium via Playwright (or Selenium/undetected-chromedriver with the backend parameter).

JS rendering. The ChromiumLoader has two scraping modes: ascrape_playwright waits for "domcontentloaded", while ascrape_with_js_support waits until "networkidle", ensuring JavaScript-rendered content is fully loaded. The FetchNode also passes requires_js_support config to control this. There is also an ascrape_playwright_scroll variant that uses mouse-wheel events and configurable sleep intervals for lazy-loaded/infinite-scroll pages.

Waiting strategy. The load_state parameter (default "domcontentloaded") controls how long Playwright waits before capturing page content. The node also supports retry_limit (attemps) and timeout (blocking-ops seconds).

Supported content types. Beyond HTML, FetchNode.handle_file loads PDFs (via PyPDFLoader), CSVs (pandas), JSON, XML, and Markdown files from local paths. It also handles entire directories of these types, and local HTML strings via handle_local_source. Search-engine results from SearchInternetNode return plain lists of URLs.

Third-party fetching services. The node supports browser_base (BrowserBase API), scrape_do (ScrapeDo proxy API), and plasmate (PlasmateLoader) as alternative fetching backends.

browserless/browserless

answered

Pages are fetched through a headless browser — no plain-HTTP fetch path exists. The system launches real browser processes (Chromium CDP, Firefox Playwright, WebKit Playwright) inside Docker, then proxies WebSocket traffic between the client's Puppeteer/Playwright library and the browser's CDP or Playwright JSON-RPC interface (src/browsers/browsers.cdp.ts:378-484, src/browsers/browsers.playwright.ts:212-253). JS rendering is on by default (Chromium runs JavaScript), and can be disabled per-request via setJavaScriptEnabled: false on the REST APIs. Waiting strategies are configurable: clients can set gotoOptions (waitUntil events like domcontentloaded), waitForTimeout (millisecond sleep), waitForSelector (element visible/hidden), waitForFunction (JS expression in the page), or waitForEvent (DOM/window event) — all available on the /content, /scrape, /screenshot, and /pdf endpoints (src/shared/content.http.ts:230-251). Webrtc, the content types served are HTML (from /content), application/pdf (via Chromium's built-in PDF renderer in /pdf), PNG/JPEG images (from /screenshot), and arbitrary binary downloads (from /download). The REST API route handlers each open a new browser page (browser.newPage()) and close it in a finally block to prevent leaks (src/shared/content.http.ts:140,272-275). The WebSocket routes (/chromium, /firefox/playwright, etc.) proxy the raw browser protocol stream bidirectionally, letting clients use their own Puppeteer/Playwright scripts (src/shared/chromium.ws.ts:18-35).

Editor's note. Correction: on /content the code runs if (setJavaScriptEnabled) await page.setJavaScriptEnabled(...), so passing false is ignored and JavaScript cannot be turned off this way; every new session also launches a fresh browser process rather than reusing one.

crawlab-team/crawlab

answered

Crawlab does NOT fetch or render web pages itself. There is no HTTP client for scraping, no headless browser integration, no JavaScript rendering engine, and no fetching strategy in the codebase. The system is a management platform: it launches user-provided spider scripts as OS subprocesses, and those scripts do the actual page fetching via whatever framework the user chooses (Scrapy, Puppeteer, Selenium, raw HTTP, etc.). The RunnerV2 class (core/task/handler/runner_v2.go:88-169) reads the Cmd and Param fields from a Spider or Task model and runs the command via sys_exec.BuildCmd. The spider's Cmd field — e.g. scrapy crawl myspider or python main.py — is a freeform string the user sets in the Spider model (core/models/models/spider.go:28-31). The ConfigSpiderData entity defines a 'configurable spider' concept with stages and selectors, but the Scrapy code generator that would turn this into executable spider code is entirely commented out (core/models/config_spider/scrapy.go — every function body is commented out). No PDF, image, or other content-type handling is implemented in the platform. No content-type negotiation or JS-waiting strategy exists; those are entirely the concern of the user's spider script.

ssssssss-team/spider-flow

answered

All HTTP requests go through the HttpRequest class (spider-flow-core/.../io/HttpRequest.java), which wraps Jsoup's Connection - a pure-Java HTTP client, not a headless browser. The RequestExecutor shape (spider-flow-core/.../RequestExecutor.java) configures each request: method (GET/POST etc.), URL (via expression evaluation), timeout (default 60s, "timeout" field), follow-redirect toggle, TLS-certificate validation toggle, custom headers, and per-node/project-level cookies. JS rendering is not built in; the README links a separate Selenium plugin (spider-flow-selenium). The Jsoup connection calls ignoreContentType(true) and ignoreHttpErrors(true) with maxBodySize(0) (unlimited) in HttpRequest.execute() (lines 121-128). The response is wrapped as HttpResponse (spider-flow-core/.../io/HttpResponse.java) implementing the SpiderResponse interface. It exposes getHtml() (raw body), getBytes() (byte array), getStream() (InputStream), getJson() (parsed via FastJson), getContentType(), and getStatusCode() - so all content types (HTML, JSON, binary) are captured. A setCharset() override is available per node (RequestExecutor line 267-271). The waiting/politeness strategy is manual: each request node can set a "sleep" expression (millisecond delay) that uses a synchronized last-execute-time check (lines 119-141) to pace requests. There is no built-in browser rendering, no CSS pre-loading, and no AJAX-wait logic.

alirezamika/autoscraper

answered

Pages are fetched via plain synchronous HTTP using the requests library. The classmethod _fetch_html() at auto_scraper.py:96-110 performs a requests.get(url, headers=headers, **request_args) call. A default Chrome 84 User-Agent header is set at auto_scraper.py:45-48. No headless browser, no JavaScript rendering engine, and no waiting strategy is implemented — if the target page relies on JS to populate content, AutoScraper will only see the raw HTML. request_args is forwarded as **kwargs to requests.get(), allowing users to manually pass proxies, custom headers, cookies, or timeouts. Content-type detection for encoding is minimal: if the server declares ISO-8859-1 but the actual Content-Type header doesn't contain it, the apparent encoding is used instead (auto_scraper.py:105-108). The only content type consumed is text/HTML; PDFs, images, or binary responses are not supported at all — res.text is called unconditionally and passed through str.strip() + unicodedata.normalize('NFKD', ...) (utils.py:29-32). The fallback path _get_soup() at auto_scraper.py:113-121 also accepts a raw html string parameter, so the caller can pre-fetch with any tool and feed the HTML directly.

adithya-s-k/omniparse

answered

Pages are fetched via Selenium ChromeDriver in headless mode, not plain HTTP. The LocalSeleniumCrawlerStrategy class (omniparse/web/crawler_strategy.py:64) creates a webdriver.Chrome instance with --headless, --no-sandbox, --disable-gpu flags. The crawl() method (line 104–139) calls driver.get(url) then waits up to 10 seconds for the html element to be present (EC.presence_of_all_elements_located). Optionally, custom JS code can be injected and awaited with a second WebDriverWait for document.readyState === "complete". A take_screenshot() method (line 141–198) captures the full page as a base64 JPEG. The WebCrawler.run() method (omniparse/web/web_crawler.py:112–151) drives the full pipeline: crawl HTML, then pass it to process_html() for extraction. PDF, PPT/DOCX, and images are not fetched via HTTP — they are uploaded as file bytes to the REST API; PPT/DOCX are converted to PDF via LibreOffice (omniparse/documents/router.py:67–72). There is no robots.txt check, no sitemap discovery, and no depth-based crawling in the current code.

mishushakov/llm-scraper

answered

The library does not fetch or render pages itself. It delegates entirely to a Playwright Page object that the caller creates and navigates. The caller launches Playwright (chromium.launch()) and navigates (page.goto(url)) before passing the page to the scraper — all JS rendering, redirects, and dynamic loading are handled by Playwright's full browser engine. There is no built-in wait strategy; the caller must ensure the page is ready (e.g. await page.waitForSelector(...)) before calling scraper.run(). Once given a Page, the preprocess() function (src/preprocess.ts:25-83) reads content in six modes: raw_html (plain page.content(), line 34), html (runs a cleanup pass then page.content(), lines 55-58), markdown (extracts <body> innerHTML and converts via Turndown, lines 38-40), text (evaluates Mozilla Readability.js loaded from CDN inside the browser to extract main-article text, lines 43-53), image (takes a Playwright page.screenshot() and returns base64, lines 61-65), and custom (user-provided formatFunction(page), lines 67-76). There is no support for PDFs or inline image/media extraction — images inside pages are removed by the cleanup step.

adbar/trafilatura

answered

Plain HTTP(S) only, no headless browser. Pages are fetched via one of two backends:

  • urllib3 (default): _send_urllib_request in downloads.py:217 uses a urllib3.PoolManager with configurable retry strategy and decompression. The response body is streamed in 128KB chunks and capped at MAX_FILE_SIZE (20MB default) via _capped().
  • pycurl (optional, imported at downloads.py:42): _send_pycurl_request at downloads.py:477 provides the same functionality via libcurl with shared DNS/SSL session caches across requests. Both backends support SOCKS proxy via the http_proxy env var and enforce an SSRF protection layer (_SafePoolManager) that rejects non-global IP addresses.

No JavaScript rendering. The tool does not use a headless browser, Selenium, or Playwright. It receives raw HTML only. There is no waiting strategy for dynamic content beyond HTTP-level retries on transient status codes (429, 5xx). Both backends follow redirects (configurable via MAX_REDIRECTS). Headers are stored from the response; the User-Agent string defaults to trafilatura/<version> or rotates through user-supplied agents from the config file (downloads.py:173).

Content types: The system accepts HTML and any text-based response. There is no built-in support for downloading or extracting PDFs, images, or binary files; IMAGE_EXTENSION at utils.py:123 is used only to detect whether a URL points to an image, which is then filtered rather than rendered.

itsOwen/CyberScraper-2077

answered

Pages are fetched primarily via Patchright (undetected Playwright fork) for full headless browser automation with JavaScript rendering. The PlaywrightScraper class in src/scrapers/playwright_scraper.py orchestrates this: it launches a Chromium browser (or real Chrome on x86 platforms), creates browser contexts, navigates via page.goto() with a configurable wait strategy (default domcontentloaded in ScraperConfig, line 50), and extracts raw HTML via page.content(). A 'Current Browser' mode at line 274 launches the user's real Chrome with remote debugging on port 9222 and connects over CDP, using the user's own profile for maximum undetectability. For .onion URLs, TorScraper in src/scrapers/tor/tor_scraper.py routes via SOCKS5 at 127.0.0.1:9050 using aiohttp_socks.ProxyConnector (tor_manager.py line 53-54). Multi-page fetching supports URL pattern detection in query parameters or path segments (lines 776-802) and concurrent scraping via asyncio.gather with a configurable semaphore cap (max_concurrent_pages, line 650). A shared aiohttp ClientSession singleton in src/http_client.py provides plain-HTTP connection-pooled fetching for non-browser use. There is no PDF rendering, no image content extraction — the scraper extracts only HTML content from the browser.

Editor's note. Correction: src/http_client.py is not imported anywhere, so there is no plain-HTTP fetch path; non-onion pages always go through Patchright and onion pages through TorManager's own aiohttp session.

raznem/parsera

answered

Pages are fetched exclusively via Playwright controlling a headless Firefox browser — there is no plain-HTTP fallback. The PageLoader class (parsera/page.py:19) manages the Playwright lifecycle: it launches Firefox headless (page.py:37), creates a browser context, opens a page, navigates to the URL with page.goto(), and waits for a load state (default "networkidle", also accepts "domcontentloaded" or "load", with a try/except pass on timeout at page.py:183-190). JavaScript rendering is therefore fully supported — all JS on the page executes before content is captured. For JS-heavy or infinite-scroll pages, the scroll_page() method (page.py:92-144) scrolls programmatically with configurable scroll-limit, a 2-second sleep between scrolls, and a MutationObserver that captures elements removed during lazy-loading. Content is retrieved as raw HTML via document.documentElement.outerHTML, including content from all iframes fetched in parallel (page.py:155-173). There is no support for PDF or image content — the library reads HTML only. A custom Playwright script can be injected at session creation (initial_script) or before each page fetch (playwright_script), enabling auth flows, cookie injection, or custom wait logic (page.py:78-90, parsera.py:60-71).

vinyzu-archive/Botright

answered

Botright uses headless Chromium via Playwright exclusively — there is no plain-HTTP fetch path. The Botright.__ainit__ method (botright/botright.py:55) starts Playwright, then get_browser_engine() (botright/botright.py:191-216) locates a locally-installed Chromium-based browser (preferring Ungoogled Chromium, falling back to Chrome, then any Chromium variant). Browsers are launched as persistent contexts via launch_persistent_context() (botright/playwright_mock/browser.py:88-95), which preserves session state across pages.

JS rendering is handled automatically by Playwright's browser engine — there is no toggle. Pages are created through the Page wrapper (botright/playwright_mock/page.py:58-74), which calls _mock_page() to apply stealth patches via CDP (page.py:162-210), then returns the page.

The waiting strategy delegates to standard Playwright waits — wait_for_selector, wait_for_timeout. Custom interaction methods (page.click, page.type) add humanized mouse movement with Bézier curves and random delays, but these are for stealth rather than content-waiting.

Content types: PDF and image handling is left entirely to Playwright (e.g. page.screenshot()). Image blocking is available via the block_images flag (botright/botright.py:36), which installs a route interceptor aborting image resource types (browser.py:191-202). Response caching for static resources (document, stylesheet, image, media, font, manifest) is supported through cache_responses (browser.py:175-189), storing APIResponse objects in a dict keyed by URL.

There is no specialized PDF rendering or waiting beyond Playwright's built-in capabilities.

Editor's note. Correction: the default is a headful browser (headless=False), launched from a locally installed Chromium/Chrome executable found via pybrowsers, not Playwright's bundled headless Chromium (botright/botright.py L55-L72, L191-L216).

ttlns/Selenium-Driverless

answered

Pages are fetched and rendered exclusively via a full headless (or headed) Chrome browser controlled through the Chrome DevTools Protocol over WebSocket — there is no plain-HTTP fetch mode. The core workflow in Target.get() (src/selenium_driverless/types/target.py:319-377) sends a Page.navigate CDP command and waits for Page.loadEventFired (or a download event) to confirm the page finished loading; setting wait_load=True configures an asyncio.wait across both events. JS rendering is native because Chrome itself executes JavaScript — the project is a driver, not a fetcher. The webdriver.Chrome class (src/selenium_driverless/webdriver.py:63-65) manages the Chrome process (launched as a subprocess with --remote-debugging-port), connects via WebSocket to CDP, and surfaces Target objects per tab. Additionally, Target.fetch() (src/selenium_driverless/types/target.py:1130-1245) runs a JavaScript fetch call inside the browser (not a Python HTTP request), returning the binary body and headers as base64-decoded Python dicts. Target.xhr() does the same via XMLHttpRequest. For PDFs and images, the browser's native download capability is used: wait_download() (src/selenium_driverless/types/target.py:272-316) listens for Browser.downloadWillBegin CDP events and resolves to the local file path when downloads_dir is configured. print_page() returns PDF via Page.printToPDF, and get_screenshot_as_png() returns screenshots via Page.captureScreenshot. The NetworkInterceptor (src/selenium_driverless/scripts/network_interceptor.py:629-800) can intercept requests/responses at the CDP Fetch level, allowing body inspection, header modification, or external fetch bypass.

scraperai/scraperai

answered

ScraperAI offers two crawler implementations. RequestsCrawler (scraperai/crawlers/requests.py:7-40) uses plain requests.get(url).text — no JavaScript rendering, no browser, just raw HTTP. SeleniumCrawler (scraperai/crawlers/selenium.py:16-82) wraps Selenium WebDriver (Chrome by default) and provides full browser execution including JS rendering, clicking, scrolling, and screenshot capture. The default driver is DefaultChromeWebdriver (scraperai/crawlers/webdriver/local.py:15-49), which creates a non-headless Chrome window (headless is commented out). After each driver.get(url) call, the SeleniumCrawler applies a blanket time.sleep(1) — no explicit waiting strategy beyond that single-second sleep. For pagination, it supports XPath-based button clicking (switch_page with type xpath), infinite scroll (type='scroll'), and URL-list iteration. Screenshots are taken at 60% zoom via driver.execute_script("document.body.style.zoom='60%'"). The project has no PDF or image content-type handling — it fetches HTML pages only.

mixmark-io/turndown

not applicable

Turndown does not fetch or render pages. It takes an HTML string (or a pre-parsed DOM node) as input and converts it to Markdown. There is no HTTP client, no headless browser integration, no JavaScript rendering, no waiting strategy, and no support for PDF or image content types. The library's entry point, turndown(), accepts either a string or an HTMLElement/Document/DocumentFragment node (src/turndown.js:47-58). When a string is provided, it is parsed into a DOM tree using either the native browser parser or, in Node.js, the domino library — a minimal DOM implementation that does not execute scripts or fetch external resources (src/html-parser.js:49-53). The SECURITY.md explicitly warns that Turndown itself does not fetch anything and that any external resource loading would be the DOM parser's behavior, not Turndown's. In short, the project is an offline format converter, not a scraper.

How is content extracted or converted? →