Install
openclaw skills install @dataify-server/dataify-yandex-searchopenclaw skills install @dataify-server/dataify-yandex-searchpython3 scripts/yandex_search.py --text "<search query>" --preview
参数名当前值默认值说明The bundled script generates this table with:
python3 scripts/yandex_search.py --text "<search query>" --preview
Use these documented defaults when the user does not specify a field:
engine: yandexjson: 1yandex_domain: yandex.comlang: en when yandex_domain is yandex.comfamily_mode: 1fix_typo: truegroups_on_page: 20no_cache: falseNo documented default:
text: required from the user request.lr: leave unset unless the user specifies it.p: leave unset unless the user specifies it; page numbering starts from 0 when specified.Important corrections from the API example body:
family_mode: "0" as the default. The description default is medium, so use 1.no_cache: "true" as the default. The description says false is the default.--json: output format. Use 1 JSON, 2 JSON+HTML, 3 HTML, or 4 Light JSON.--yandex-domain: Yandex domain such as yandex.com, yandex.ru, ya.ru, yandex.kz, yandex.com.tr, or another supported domain.--lang: search language, for example en, ru, tr.--lr: country or region ID.--p: page number, starting from 0.--family-mode: safe search mode. Use 0 off, 1 moderate, 2 strict.--fix-typo: true or false.--groups-on-page: maximum result groups per page.--no-cache: true to bypass cache, false to use cache.--params-json: JSON object of raw field overrides for unusual requests. Use null to omit a defaulted field.For the full field list, read references/api_fields.md only when needed.
Preview parameters for a normal search:
python3 scripts/yandex_search.py --text "OpenAI latest news" --preview
After user confirmation, call the API:
Preview Russian Yandex, page 2, HTML output:
python3 scripts/yandex_search.py --text "artificial intelligence news" --yandex-domain yandex.ru --lang ru --p 1 --json 3 --preview
python3 scripts/yandex_search.py --help
export for macOS/Linux shells, $env: for Windows PowerShell, or set for Windows Command Prompt). Show other platforms or persistent setup only when detection is ambiguous or the user asks.DATAIFY_API_TOKEN is present; never print its value. If verification succeeds, continue the original task without asking the user to repeat it..env unless the execution path explicitly loads it, and ensure .env is ignored by version control.