Skip to main content

Geonode CLI: Web Scraping, Crawling & Search

Geonode CLI: Web Scraping, Crawling & Search

Collect web data from your terminal for scripts, agents and data pipelines. Extract pages, crawl sites, discover URLs, search the web and run batches with the Geonode CLI. JSON output and exit codes make the results easy to use in your own automation.

Try Geonode for free

Integrations page · Geonode API docs · CLI setup guide · View package on PyPI · View source on GitHub · Complete guide

Quick start · Choose a command · Example: save a page for a scheduled pipeline · Setup questions

Workflow ideas

  • Schedule a content refresh. Run extraction commands from your scheduler, inspect exit codes, and save JSON results.
  • Inspect a site from the terminal. Map URLs, select pages and extract Markdown without writing an API client.

Quick start

Requires Python 3.10 or newer and a Geonode API key from the dashboard.

pipx install geonode-scraper-cli
export GEONODE_SCRAPER_API_KEY="your-api-key"
gscraper extract https://example.com --format markdown

Use pip install geonode-scraper-cli if you already manage your own virtual environment. On Windows PowerShell, set $env:GEONODE_SCRAPER_API_KEY = "your-api-key".

For machine-readable output:

gscraper extract https://example.com --format markdown --json

A successful response has ok: true and the API result under result; a failed request has ok: false and an error object. API requests require an active account and use your plan's allowance.

Choose a command

Task Command
Extract a page gscraper extract URL --format markdown
Extract several URLs gscraper batch create URL [URL ...]
Crawl a website gscraper crawl create URL --depth 2 --limit 50
Discover URLs gscraper map run URL
Search the web gscraper search run "your query"
Wait for a job gscraper jobs wait JOB_ID
Check concurrency gscraper usage concurrency

Use gscraper --help or gscraper COMMAND --help for options. See the complete guide for background jobs, profiles, output files, shell completion and exit codes.

Configuration and errors

Set credentials through the environment or a local config file; command-line keys can remain in shell history. gscraper config show masks keys. Flags override environment variables, which override the selected profile.

A missing/invalid key or blocked target exits with code 4; invalid request/extraction failure uses 6, a network failure uses 7, and a wait timeout uses 8. See all exit codes when handling failures in scripts.

Example: save a page for a scheduled pipeline

After configuring GEONODE_SCRAPER_API_KEY, run one extraction and save its structured response. This Bash example writes to a local file; it does not create a scheduler or a storage service.

if gscraper extract https://example.com --format markdown --json > page-result.json; then
  echo "Inspect ok and result.data.markdown in page-result.json"
else
  echo "Extraction failed; inspect page-result.json" >&2
fi

Expected result: Successful synchronous JSON output has ok: true and content under result.data.markdown. Inspect failure output before importing it into a dataset.

Setup questions

Command not found? Check that the environment where you installed the package is active and that its Scripts or bin directory is on PATH. pipx manages a separate command environment.

Wrong account or endpoint? Inspect gscraper config show, which masks keys. Flags override environment variables, which override the selected configuration profile.

Need reliable scheduling? Let your scheduler inspect the command's exit code, preserve failed output and apply a bounded retry policy. A submitted background job still needs a completion check.

Does the CLI run an MCP server? No. It calls the Geonode API; the hosted MCP endpoint is a separate assistant connection.

These recipes describe source-supported workflows. They have not been run as authenticated end-to-end examples in this review.

Development and support

See CONTRIBUTING.md for local checks and releases.

For API or account questions, contact Geonode. For security issues, follow SECURITY.md. Licensed under MIT.

Try Geonode for free

Metadata

Release files for geonode-scraper-cli 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for geonode-scraper-cli 0.3.0
File Size Uploaded Provenance Actions
geonode_scraper_cli-0.3.0.tar.gz 26.1 kB With provenance Details for geonode_scraper_cli-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for geonode-scraper-cli 0.3.0
File Interpreter ABI Platform Actions
geonode_scraper_cli-0.3.0-py3-none-any.whl Python 3 none any Details for geonode_scraper_cli-0.3.0-py3-none-any.whl

Total release size: 51.7 kB

Release files / geonode_scraper_cli-0.3.0.tar.gz

Download URL geonode_scraper_cli-0.3.0.tar.gz
Size 26.1 kB
Tags Source
SHA-256 checksum
How to use checksums
beeddc9e180d0b6f9186ca2b1343fd62f4c54fd3f436d94064b7661194311270
BLAKE2b-256 checksum
How to use checksums
b053054522d393a990743d7bb3ef9f3258dc375408c16d9f5dd770f9b5ac4fe9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / geonode_scraper_cli-0.3.0-py3-none-any.whl

Download URL geonode_scraper_cli-0.3.0-py3-none-any.whl
Size 25.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ca4f5792f6861e817b935f6855f58dae3d914b7d2566ed9ec03cb5bd4a389b4
BLAKE2b-256 checksum
How to use checksums
23ecb1e2cf25107675fa37fbaa8c0085b501dec214eb16342860811cd55b3e46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for geonode-scraper-cli 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for geonode_scraper_cli-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page