LangChain
Web research and content collection for LangChain agents.
Let your crew collect fresh web content with Geonode. Equip research agents with extraction, discovery and job-management tools.
Use a Python version supported by CrewAI.
Install geonode-scraper-crewai in your project.
Set GEONODE_SCRAPER_API_KEY in your environment.
Build the tool list, then test extraction with run before attaching it to an Agent.
import os
from geonode_scraper_crewai import build_crewai_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_crewai_tools(settings=settings)
by_name = {tool.name: tool for tool in tools}
response = by_name["scraper_extract_content"].run(
url="https://example.com",
formats=["markdown"],
processing_mode="sync",
)
print(response["result"])Set up tools once and make the research task explicit.
Build the CrewAI tool list with shared settings.
tools = build_crewai_tools(
settings=settings
)Give your agent the tools it needs for the task.
from crewai import Agent
Agent(
role="Web researcher",
goal="Collect source content",
backstory="Research assistant",
tools=tools
)Direct tool calls return a dictionary.
response["ok"]
response["result"]Get the full setup guide, authentication details and technical reference.
Connect native tools to your CrewAI agents to collect source content for research tasks.
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_create_batch"].run(
urls=[
"https://example.com/a",
"https://example.com/b",
],
formats=["markdown"],
)
response = by_name["scraper_wait_for_batch"].run(
job_id=submitted["result"]["job_id"],
timeout_seconds=120,
)
print(response["result"])Python 3.10–3.13
Keep API keys on the server or in your client’s credential store. Usage is charged to your Geonode plan.
pip install geonode-scraper-crewai==0.4.3Check the supported Python version and environment.
Confirm that the generated tools are attached to the Agent.
Check the key in ScraperToolSettings.
Read data inside response["result"].
Validate run before launching a crew.
Specify sources, limits and expected output.
Carry URLs into the next task.
Use status and wait tools for async work.
Web research and content collection for LangChain agents.
Typed Python clients for web research and data pipelines.
Start with one tool call, then connect your Agent.