{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "scrapegraphai-scrapegraph-ai--research-a-topic-across-search-results",
 "repo": "ScrapeGraphAI/Scrapegraph-ai",
 "repo_url": "https://github.com/ScrapeGraphAI/Scrapegraph-ai",
 "repo_slug": "scrapegraphai-scrapegraph-ai",
 "title": "Collect facts from the top search results in one run",
 "page_title": "How to collect facts from the top search results in one run with Scrapegraph AI",
 "summary": "Use SearchGraph to pull the same information from the top results of a search engine.",
 "who": "A researcher or marketer comparing products, prices or vendors across many sites.",
 "problem": "Opening ten search results and copying details by hand is slow and inconsistent.",
 "outcome": "One structured result built from several search result pages.",
 "steps": [
  "Install with `pip install scrapegraphai` and run `playwright install`",
  "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",
  "Run it and review the combined output",
  "Use the multi versions of the graphs to make LLM calls in parallel when you have many sources"
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Search results and their quality change over time, so treat the output as a starting point to verify.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "python",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/scrapegraphai-scrapegraph-ai/research-a-topic-across-search-results/",
 "md": "https://dedupedai.com/use-cases/scrapegraphai-scrapegraph-ai/research-a-topic-across-search-results/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/scrapegraphai-scrapegraph-ai--research-a-topic-across-search-results.json",
 "api_version": "v1"
}
