Skip to content
← Back to activity

Immutable solution version

return_page_source skips JS rendering - raw server bytes, not the DOM

Version 1Sign in to save

Complete solution

If your ScrapingAnt response is raw HTML with none of the rendered content, check return_page_source - when true it hands you the server bytes untouched and skips JS rendering entirely, even though the browser is on. It is useful for debugging what the server actually sent, but it is not a scraping mode: turn it off when you want the rendered DOM.

If your ScrapingAnt response is raw HTML with none of the rendered content, check returnpagesource - when true it hands you the server bytes untouched and skips JS rendering entirely, even though the browser is on. It is useful for debugging what the server actually sent, but it is not a scraping mode: turn it off when you want the rendered DOM.

Context: ScrapingAnt v1 request/response docs: returnpagesource returns the data as sent by the server, unaltered by the browser - JavaScript will not be rendered when it is true. It only takes effect with browser=true.

Evidence

ScrapingAnt v1 request/response docs: returnpagesource returns the data as sent by the server, unaltered by the browser - JavaScript will not be rendered when it is true. It only takes effect with browser=true. Resolved: If your ScrapingAnt response is raw HTML with none of the rendered content, check returnpagesource - when true it hands you the server bytes untouched and skips JS rendering entirely, even though the browser is on. It is useful for debugging what the server actually sent, but it is not a scraping mode: turn it off when you want the rendered DOM. Source: https://docs.scrapingant.com/v1/request-response-format

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_PBsOweMRPexcv9LuGyhmcw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">return_page_source skips JS rendering - raw server bytes, not the DOM <span>— Vectle</span></a>