The repository or configuration that created this release differ from a previous release. View details.
Geonode Python SDK: Web Scraping & Data Extraction
Build Python agents and data pipelines with Geonode’s typed clients. Extract pages, crawl sites, discover URLs, search the web and run batches. Use returned content in your own research and RAG workflows, with webhook subscriptions and usage statistics available from your code.
Integrations page · Geonode API docs · Python SDK setup guide · View package on PyPI · View source on GitHub · Complete guide
Get started · Example: prepare website content for retrieval · Setup questions
Workflow ideas
- Prepare documents for retrieval. Extract Markdown from selected URLs, then pass it to your own chunking, embedding and storage pipeline.
- Refresh a website dataset. Crawl with depth and page limits, inspect results, and save content with its source URL.
Get started
Requires Python 3.10 or newer and a Geonode API key. API requests use your Geonode account's plan and balance.
pip install geonode-scraper-sdk
Set GEONODE_SCRAPER_API_KEY in your server environment, then run:
import os
from geonode_scraper_sdk import (
ApiClient, Configuration, ExtractionApi, ExtractRequest, OutputFormat,
)
configuration = Configuration(
api_key={"ApiKeyAuth": os.environ["GEONODE_SCRAPER_API_KEY"]}
)
with ApiClient(configuration) as client:
result = ExtractionApi(client).extract_v1_extract_post(
ExtractRequest(url="https://example.com", formats=[OutputFormat.MARKDOWN])
)
print(result.data.markdown)
The SDK sends your key in X-Api-Key to https://scraper.geonode.io. Keep the key out of source control and browser code.
What you can build
| Task | Client |
|---|---|
| Extract a page as Markdown or HTML, with optional JavaScript rendering | ExtractionApi |
| Process many URLs and check or cancel jobs | BatchApi |
| Crawl linked pages with depth and page limits | CrawlApi |
| Discover a website's URLs | MapApi |
| Search the web | SearchApi |
| Configure notifications and manage delivery secrets | WebhooksApi |
| Inspect concurrency, usage and service health | UsageApi, StatisticsApi, SystemApi |
See the complete guide for background extraction, batch and crawl examples, proxy settings, webhooks, error handling and the method reference. Generated method names follow the API contract. The SDK is an API client; it does not bundle a local browser or MCP server.
Understand the extraction result
The Python quick start requests Markdown and reads data.markdown from a completed extraction. Request HTML when you need data.html. Keep metadata.url alongside the content so later processing retains its source. tokens_charged reports the request's usage.
A background request returns a job ID and status instead of immediately returning finished content. Keep that ID, retrieve the job and inspect its terminal status before reading the result. A timeout after submission is not a reason to submit the same job again.
Example: prepare website content for retrieval
- Start with a small list of source URLs, or map a site and select the relevant pages.
- Extract Markdown from one URL and inspect its content and source metadata before processing the list.
- Use a batch for a known URL list, or a crawl with explicit depth and page limits when you need linked pages.
- Pass completed content to your own chunking and embedding pipeline, then store the chunks with their source URLs and retrieval time.
- Handle failed pages separately so partial results do not silently become a complete dataset.
Expected result: Page content and source metadata are ready for your application. Embeddings, vector storage, product-field parsing and change detection are separate steps you supply.
Setup questions
Missing content? Confirm the requested format and whether the job has completed. Enable JavaScript rendering when the target depends on a browser, and inspect the returned status and error details.
Where does the API key belong? Keep it in your server environment and pass it through the SDK configuration. A browser application should call your own server instead of exposing the key.
Does installing the SDK run a scraper locally? It installs an API client. Extraction runs through the hosted Geonode service and uses your account's allowance.
Need MCP? Use the separate hosted MCP connection for a compatible assistant; this SDK does not start an MCP server.
These recipes describe source-supported workflows. They have not been run as authenticated end-to-end examples in this review.
Development
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e '.[dev]' build twine
bash scripts/ruff.sh check
bash scripts/test.sh
python -m build
python -m twine check dist/*
Read CONTRIBUTING.md for the workflow, code generation and releases.
Support and license
Use GitHub issues for SDK bugs and Geonode support for account or API questions. Report vulnerabilities privately using SECURITY.md. Released changes are listed in CHANGELOG.md.
MIT license · Copyright 2026 Geonode Team.
Metadata
Release files for geonode-scraper-sdk 0.6.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Change of provenance
The repository or configuration that created these release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| geonode_scraper_sdk-0.6.2.tar.gz | 106.4 kB | With provenance | Details for geonode_scraper_sdk-0.6.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| geonode_scraper_sdk-0.6.2-py3-none-any.whl | Python 3 | none | any | Details for geonode_scraper_sdk-0.6.2-py3-none-any.whl |
Total release size: 261.2 kB
Release files / geonode_scraper_sdk-0.6.2.tar.gz
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | geonode_scraper_sdk-0.6.2.tar.gz |
|---|---|
| Size | 106.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
039a9700e9925017432a95e66ae57bfe01ee327436eb43794f04758e9efafed5
|
|
BLAKE2b-256 checksum How to use checksums |
b2140a9f062446f0a658b97c562b52f071dfba86e0f4a12c031b9dd63d9df4a1
|
| 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 Oct 29, 2026.
Transparency logRelease files / geonode_scraper_sdk-0.6.2-py3-none-any.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | geonode_scraper_sdk-0.6.2-py3-none-any.whl |
|---|---|
| Size | 154.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7c0cd7f4eab70248e824163fc7004f60a9e32f22d7dedc273be0a7df4ca3971
|
|
BLAKE2b-256 checksum How to use checksums |
a4820ef452e65c540203d3bf71691e2814faab4fcf5fe6a2700a1581b6e9f972
|
| 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 Oct 29, 2026.
Transparency logSecurity for geonode-scraper-sdk 0.6.2
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.
Change of provenance
The repository and configuration that created this release differ from a previous release.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Repository
- Removed 0.6.1 github.com/geonodecom/scraper-api-sdks
- Added 0.6.2 github.com/geonodecom/sdk-python
Attestation for geonode_scraper_sdk-0.6.2.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 Oct 29, 2026.
Transparency logA 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.