CrewAI
Search, crawl and extract web data for CrewAI agents.
Add Geonode scraping tools to your agent. Discover pages, extract content and follow long-running jobs in your existing workflow.
Install geonode-scraper-langchain in your Python environment.
Set GEONODE_SCRAPER_API_KEY before you build the tools.
Invoke a tool directly, or give the tool list to your agent.
Install the package and set your API key. Then call a StructuredTool directly.
import os
from geonode_scraper_langchain import build_langchain_tools
from geonode_scraper_tools_core import ScraperToolSettings
settings = ScraperToolSettings(
host="https://scraper.geonode.io",
api_key=os.environ["GEONODE_SCRAPER_API_KEY"],
)
tools = build_langchain_tools(settings=settings)
by_name = {tool.name: tool for tool in tools}
response = by_name["scraper_extract_content"].invoke({
"url": "https://example.com",
"formats": ["markdown"],
"processing_mode": "sync",
})
print(response["result"])Keep setup, invocation and returned data easy to inspect.
Configure the production host and your API key once.
ScraperToolSettings(
host=host, api_key=api_key
)Pass named arguments as a dictionary to invoke.
tool.invoke({
"url": url,
"formats": ["markdown"]
})Check the response envelope, then read result.
response["ok"]
response["result"]Get the full setup guide, authentication details and technical reference.
Connect native tools to your LangChain agents to search for and collect source content.
Extract page content as Markdown or HTML, with optional JavaScript rendering.
Run batch extraction and bounded website crawls as background jobs.
Discover website URLs before choosing which pages to extract.
Search the web and retrieve or wait for background job results.
# Use by_name from the quick start
submitted = by_name["scraper_extract_content"].invoke({
"url": "https://example.com",
"formats": ["markdown"],
"processing_mode": "async",
})
job_id = submitted["result"]["job_id"]
response = by_name["scraper_wait_for_job"].invoke({
"job_id": job_id,
"timeout_seconds": 120,
})
print(response["result"])Python 3.10+
Keep API keys on the server or in your client’s credential store. Usage is charged to your Geonode plan.
pip install geonode-scraper-langchain==0.4.3Check the names in the generated tool list.
Verify the key passed to ScraperToolSettings.
Read the payload from response["result"].
Keep the job ID and check its status again.
Validate a direct call before wiring an agent.
Tell the agent which sources and output you need.
Check ok, operation and result.
Keep job IDs in your workflow state.
Search, crawl and extract web data for CrewAI agents.
Web search and content collection for MCP-compatible agents.
Build a tool set and try a direct extraction.