extract_links
Extract web, image, or file links from a webpage URL using ReviewWebsite API. Specify link type, max links, delay, and get HTTP status codes or auto-scrape internal links for detailed data extraction.
Instructions
Extract all links from a HTML content of web page URL using ReviewWeb.site API.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
api_key | No | Your ReviewWebsite API key | |
autoScrapeInternalLinks | No | Whether to automatically scrape internal links | |
debug | No | Whether to enable debug mode | |
delayAfterLoad | No | Delay in milliseconds after page load before extracting links | |
getStatusCode | No | Whether to get HTTP status codes for each link | |
maxLinks | No | Maximum number of links to return | |
type | No | Type of links to extract | |
url | Yes | The target URL to extract links from |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"api_key": {
"description": "Your ReviewWebsite API key",
"type": "string"
},
"autoScrapeInternalLinks": {
"description": "Whether to automatically scrape internal links",
"type": "boolean"
},
"debug": {
"description": "Whether to enable debug mode",
"type": "boolean"
},
"delayAfterLoad": {
"description": "Delay in milliseconds after page load before extracting links",
"type": "number"
},
"getStatusCode": {
"description": "Whether to get HTTP status codes for each link",
"type": "boolean"
},
"maxLinks": {
"description": "Maximum number of links to return",
"type": "number"
},
"type": {
"description": "Type of links to extract",
"enum": [
"web",
"image",
"file",
"all"
],
"type": "string"
},
"url": {
"description": "The target URL to extract links from",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}