ByteChef LogoByteChef
Components

ScrapeGraphAI

ScrapeGraphAI is a web scraping python library that uses LLM and direct graph logic to create scraping pipelines for websites and local documents.

ScrapeGraphAI is a web scraping python library that uses LLM and direct graph logic to create scraping pipelines for websites and local documents.

Categories: Artificial Intelligence

Type: scrape-graph-ai/v1


Connections

Version: 1

API Key

Properties

NameLabelTypeDescriptionRequired
keyKeySTRINGtrue
valueValueSTRINGtrue

Actions

Search Scraper

Name: searchScraper

Start a AI-powered web search request.

Properties

NameLabelTypeDescriptionRequired
user_promptUser PromptSTRINGThe search query or question you want to ask.true

Example JSON Structure

{
  "label" : "Search Scraper",
  "name" : "searchScraper",
  "parameters" : {
    "user_prompt" : ""
  },
  "type" : "scrape-graph-ai/v1/searchScraper"
}

Output

Type: OBJECT

Properties

NameTypeDescription
request_idSTRINGUnique identifier for the search request.
statusSTRINGStatus of the request. One of: “queued”, “processing”, “completed”, “failed”.
user_promptSTRINGThe original search query that was submitted.
resultOBJECT
Properties {}
The search results.
reference_urlsARRAY
Items [STRING]
List of URLs that were used as references for the answer.
errorSTRINGError message if the request failed. Empty string if successful.

Output Example

{
  "request_id" : "",
  "status" : "",
  "user_prompt" : "",
  "result" : { },
  "reference_urls" : [ "" ],
  "error" : ""
}

Markdownify

Name: markdownify

Convert any webpage into clean, readable Markdown format.

Properties

NameLabelTypeDescriptionRequired
website_urlWebsite URLSTRINGWebsite URL.true

Example JSON Structure

{
  "label" : "Markdownify",
  "name" : "markdownify",
  "parameters" : {
    "website_url" : ""
  },
  "type" : "scrape-graph-ai/v1/markdownify"
}

Output

Type: OBJECT

Properties

NameTypeDescription
request_idSTRINGUnique identifier for the request.
statusSTRINGStatus of the request. One of: “queued”, “processing”, “completed”, “failed”.
website_urlSTRINGThe original website URL that was submitted.
resultSTRINGThe search results.
errorSTRINGError message if the request failed. Empty string if successful.

Output Example

{
  "request_id" : "",
  "status" : "",
  "website_url" : "",
  "result" : "",
  "error" : ""
}

Smart Scraper

Name: smartScraper

Extract content from a webpage using AI by providing a natural language prompt and a URL.

Properties

NameLabelTypeDescriptionRequired
user_promptUser PromptSTRINGThe search query or question you want to ask.true
website_urlWebsite URLSTRINGWebsite URL.true

Example JSON Structure

{
  "label" : "Smart Scraper",
  "name" : "smartScraper",
  "parameters" : {
    "user_prompt" : "",
    "website_url" : ""
  },
  "type" : "scrape-graph-ai/v1/smartScraper"
}

Output

Type: OBJECT

Properties

NameTypeDescription
request_idSTRINGUnique identifier for the search request.
statusSTRINGStatus of the request. One of: “queued”, “processing”, “completed”, “failed”.
website_urlSTRINGThe original website URL that was submitted.
user_promptSTRINGThe original search query that was submitted.
resultOBJECT
Properties {}
The search results.
errorSTRINGError message if the request failed. Empty string if successful.

Output Example

{
  "request_id" : "",
  "status" : "",
  "website_url" : "",
  "user_prompt" : "",
  "result" : { },
  "error" : ""
}

On this page