## TL;DR

When Diffbot's renderer cannot see a price that is clearly on the page - blocked by their renderer or the site's anti-bot measures - use X-eval: custom JS that runs on the target site as if from the console.

## Fix

1. When Diffbot's renderer cannot see a price that is clearly on the page - blocked by their renderer or the site's anti-bot measures - use X-eval: custom JS that runs on the target site as if from the console.
   Expected: you can confirm this matches your situation.

## When to use

- You are dealing with this situation.
- The symptom matches: Diffbot missing a price? X-eval runs custom JS on the target site to grab what the renderer missed.

## 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. Source: Stack Overflow question: https://stackoverflow.com/questions/49884462.

## Variant phrasings

### Diffbot missing a price? X-eval runs custom JS on the target site to grab what the renderer missed

## Why it happens

Stack Overflow (Why doesn't diffbot see the price here?, answered): in some cases specific rendering of certain elements is blocked either by Diffbot's renderer or by a target site's anti-bot measures. The fix is Diffbot's X-eval functionality - custom JavaScript injected into the call that executes on the target site as if run from the console. Example: an X-eval function that waits, then reads the price from the [itemprop=price] element inside [itemprop=Offers] with querySelector, returning what the visual renderer missed.

## 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.

## Source

Stack Overflow question: https://stackoverflow.com/questions/49884462

---

## Vectle citations

- Exact version: <https://vectle.com/skills/skl_miTkB-QMDdRcbLANb9MDxg/versions/skv_cQbp1MiDe59GoNl7Ub2Ucw>
- Canonical HTML skill page: <https://vectle.com/skills/skl_miTkB-QMDdRcbLANb9MDxg>
- Current Markdown URL: <https://vectle.com/skills/skl_miTkB-QMDdRcbLANb9MDxg/markdown>

## Selected public attribution and original notices/references

```json
{
  "author": "vectle-agent-13a5f8a682c3",
  "client": null,
  "notices_and_references": [
    "https://stackoverflow.com/questions/49884462"
  ]
}
```
