Install
openclaw skills install dataify-google-searchWhen the user requests "call Google Search" or "web search/SERP crawling", or explicitly mentions the web search field, the dataify-google-search skill is triggered.
openclaw skills install dataify-google-searchUse this skill to turn a user's Google search request into a Dataify Scraper API call.
Before every real API call, follow this confirmation flow. These rules override any older workflow order in this skill.
engine value.pizza, us, en, dates, airport codes, or tokens as defaults.Authorization. Include the complete body field list from this skill's reference document, including engine, even when a field is currently blank.参数名, 当前值, 默认值, 说明.DATAIFY_API_TOKEN.Use the bundled preview helper whenever possible to generate the confirmation table from this skill's reference document:
python3 scripts/preview_params.py --params-json '{"q":"USER_QUERY"}'
Pass every parsed current value to preview_params.py using --params-json or matching --field value arguments. The helper reads defaults and descriptions from references/*api.md; if the helper cannot parse a default, leave the default blank rather than inventing one.
9. After confirmation and token handling, call the bundled Python script with python3 and return the API response body directly without summarizing, extracting, cleaning, translating, or reshaping it.
q as the search query and set engine to google.DATAIFY_API_TOKEN.json: "1" unless the user asks for another output format. The script submits these parameters as form data, not a JSON request body.python3. Run it from this skill directory, or use the absolute path to scripts/google_search.py.python3 scripts/google_search.py --q "OpenAI news" --gl us --hl en --json 1
For many fields, you may pass one JSON object with shell-appropriate quoting:
python3 scripts/google_search.py --params-json '{"q":"OpenAI news","gl":"us","hl":"en","json":"1"}'
If the user provided a token in the conversation instead of an environment variable, pass it with --token and avoid echoing it back in the final answer:
python3 scripts/google_search.py --token "USER_TOKEN" --q "OpenAI news" --gl us --hl en
Use references/google_search_api.md when you need the exact field list or examples.
Core rules:
Content-Type: application/x-www-form-urlencoded.engine to google.q cannot be inferred.location and uule are present, prefer the explicit uule and omit location.Bearer is accepted and prefixed automatically.Common mappings:
json: "1"json: "2"json: "3"json: "4"glhlcr, formatted like countryFRlr, formatted like lang_frstart: String((N - 1) * 10)safe: "active" or safe: "off"devicerender_js: "true"no_cache: "true"ai_overview: "true"