Run Google searches from the command line using the ScrapingDog API.
Requires the SCRAPINGDOG_API_KEY environment variable to be set:
export SCRAPINGDOG_API_KEY=your_key_here
Install the dependency if not already present:
pip install requests
The search script is bundled at: scripts/search.py (relative to this SKILL.md).
When using this skill, resolve the absolute path to scripts/search.py from the skill directory and run it with python.
python scripts/search.py "your query"
python scripts/search.py "your query" --country uk --lang en
python scripts/search.py "your query" --json
| Argument | Default | Description |
|---|---|---|
| --- | --- | --- |
query | required | The search query string |
--country | us | Country code (us, uk, de, fr, ...) |
--lang | en | Language code (en, fr, de, ...) |
--json | off | Print raw JSON response instead of formatted output |
SCRAPINGDOG_API_KEY is set in the environment. If not, tell the user to set it and stop.scripts/search.py relative to this skill's directory.python scripts/search.py "" plus any relevant flags. Results for: "your query"
────────────────────────────────────────────────────────────
[1] Result Title
https://example.com/page
Snippet describing the result...
────────────────────────────────────────────────────────────
10 result(s)
SCRAPINGDOG_API_KEY共 1 个版本