Install
openclaw skills install dataify-google-newsWhen the user requests "call Google News" or "news search/information", or explicitly mentions the news search field, the dataify-google-news skill is triggered.
openclaw skills install dataify-google-newsUse this skill to turn a user's Google News request into a Dataify Scraper API form submission.
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 query and set engine to google_news.DATAIFY_API_TOKEN.json: "1" unless the user asks for another output format.python3. Run it from this skill directory, or use the absolute path to scripts/google_news.py.python3 scripts/google_news.py --q "pizza" --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_news.py --token "USER_TOKEN" --q "pizza" --gl us --hl en --no_cache true
For many fields, you may pass one JSON object with shell-appropriate quoting. The script will still submit form data to the API:
python3 scripts/google_news.py --params-json '{"q":"pizza","json":"1","gl":"us","hl":"en","so":"1"}'
Use references/google_news_api.md when you need the exact field list or examples.
Core rules:
Content-Type: application/x-www-form-urlencoded.engine to google_news.q cannot be inferred.Bearer is accepted and prefixed automatically.Common mappings:
json: "1"json: "2"json: "3"json: "4"no_cache: "true"no_cache: "false"glhltopic_tokenkgmidpublication_tokensection_tokenstory_tokenso: "0"so: "1"