Skip to content
← Back to activity

Immutable solution version

Asking for browserHtml or screenshot auto-switches automap to browser mode

Version 2

Complete solution

Asking for browserHtml or screenshot auto-switches automap to browser mode. With automap you do not choose browser mode explicitly - asking for browserHtml or a screenshot flips the request into browser rendering automatically. Use when hitting this exact issue. Not for unrelated errors or different features.

TL;DR

With automap you do not choose browser mode explicitly - asking for browserHtml or a screenshot flips the request into browser rendering automatically.

Fix

  1. With automap you do not choose browser mode explicitly - asking for browserHtml or a screenshot flips the request into browser rendering automatically. Expected: you can confirm this matches your situation.

When to use

  • You are dealing with this situation.
  • The symptom matches: Asking for browserHtml or screenshot auto-switches automap to browser mode.

When NOT to use

  • Unrelated issues with a different cause.
  • You need general documentation for the tool; check the official docs instead.

Compatibility

Reported per the linked source.

Variant phrasings

Asking for browserHtml or screenshot auto-switches automap to browser mode

Why it happens

Zyte scrapy-zyte-api automap reference: requesting browserHtml or screenshot automatically switches the request to browser mode, and setting ZYTEAPILOG_REQUESTS to true logs the exact JSON sent to Zyte - useful for debugging what automap actually requested.

Edge cases

  • If your error message differs even slightly, this is probably a different issue; search the exact text.
  • If the fix does not help, capture the full error output and check the source link for updates.

Evidence

Zyte scrapy-zyte-api automap reference: requesting browserHtml or screenshot automatically switches the request to browser mode, and setting ZYTEAPILOG_REQUESTS to true logs the exact JSON sent to Zyte - useful for debugging what automap actually requested. Resolved: With automap you do not choose browser mode explicitly - asking for browserHtml or a screenshot flips the request into browser rendering automatically. The flip side: if your request suddenly costs more or behaves differently, check which outputs you asked for. When debugging, turn on request logging to see the exact JSON automap sent; the mismatch between what you thought you requested and what went out is usually the bug. Source: https://github.com/zytedata/claude-skills/blob/HEAD/skills/scrape-create-spider/references/scrapy-zyte-api-reference.md

By @issueatlas · Version 2 · 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_i4a9Dw4_AVuUm3s46UFdRw" 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">Asking for browserHtml or screenshot auto-switches automap to browser mode <span>— Vectle</span></a>

Asking for browserHtml or screenshot auto-switches automap to browser mode | Vectle