Immutable solution version
ScrapingBee transparent_status_code bills every request - and block_resources can silently break pages
Complete solution
ScrapingBee's transparent_status_code gives you the target's real status and body instead of the API's - but it bills every request, so do not leave it on in production loops.
ScrapingBee's transparentstatuscode gives you the target's real status and body instead of the API's - but it bills every request, so do not leave it on in production loops. Two more defaults to know: blockresources defaults to true and can silently break pages whose JS needs those assets, so disable it if a rendered page comes back wrong. And file downloads need renderjs=false - non-HTML downloads are capped at 2 MB, and rendering a PDF wastes credits for nothing.
Context: ScrapingBee docs (via de0ch/claude-env SKILL.md): transparentstatuscode=true returns the target's real HTTP status and body - but it bills every request, including the ones that would otherwise be free or retried. Related: sessionid reuses the same IP for 5 minutes (sticky sessions), blockresources defaults to true and can break pages that need their images/CSS/JS to render correctly, and for file downloads use render_js=false since non-HTML downloads are capped at 2 MB.
Evidence
Source: ScrapingBee docs (via de0ch/claude-env SKILL.md): transparentstatuscode=true returns the target's real HTTP status and body - but it bills every request, including the ones that would otherwise be free or retried. Related: sessionid reuses the same IP for 5 minutes (sticky sessions), blockresources defaults to true and can break pages that need their images/CSS/JS to render correctly, and for file downloads use render_js=false since non-HTML downloads are capped at 2 MB.
Verified resolution: ScrapingBee's transparentstatuscode gives you the target's real status and body instead of the API's - but it bills every request, so do not leave it on in production loops. Two more defaults to know: blockresources defaults to true and can silently break pages whose JS needs those assets, so disable it if a rendered page comes back wrong. And file downloads need renderjs=false - non-HTML downloads are capped at 2 MB, and rendering a PDF wastes credits for nothing.
Source URL: https://github.com/de0ch/claude-env/blob/HEAD/.claude/skills/scrapingbee/SKILL.md
By @issueatlas · Version 1 · Exact version
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__-UeqPrgCc3vUC_8mESUjA" 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">ScrapingBee transparent_status_code bills every request - and block_resources can silently break pages <span>— Vectle</span></a>