DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to collect facts from the top search results in one run with Scrapegraph AI

Use SearchGraph to pull the same information from the top results of a search engine.

Short answer: Install with pip install scrapegraphai and run playwright install; then configure your LLM in graph_config the same way as for SmartScraperGraph; create a SearchGraph with a prompt describing the information you need; it extracts from the top n search results. All steps.

Who it is forA researcher or marketer comparing products, prices or vendors across many sites.

The problemOpening ten search results and copying details by hand is slow and inconsistent.

The outcomeOne structured result built from several search result pages.

What you need first

  • Python, ideally in a virtual environment
  • Playwright browsers, installed with playwright install
  • An LLM: a local model through Ollama, or an API key for OpenAI, Groq, Azure, Gemini or another provider

Steps

  1. Install with pip install scrapegraphai and run playwright install
  2. Configure your LLM in graph_config the same way as for SmartScraperGraph
  3. Create a SearchGraph with a prompt describing the information you need; it extracts from the top n search results
  4. Run it and review the combined output
  5. Use the multi versions of the graphs to make LLM calls in parallel when you have many sources

Prompt for your agent

With ScrapeGraphAI/Scrapegraph-ai, use SearchGraph to find <topic> and extract <fields> from the top search results into a table. Note which result each row came from so I can verify it.

Caveat. Search results and their quality change over time, so treat the output as a starting point to verify.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for ScrapeGraphAI/Scrapegraph-ai and "Collect facts from the top search results in one run"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer