ZenRows
ZenRows is a web scraping service with an advanced toolkit and APIs that simplify data extraction from bot-protected websites.
Categories: Analytics
Type: zenrows/v1
Connections
Version: 1
api_key
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| value | API Key | STRING | API key can be found in Settings -> API Key. | true |
Connection Setup
Find API Key
- Navigate to your dashboard.
- Click on Settings.
- Here you can see your API key.
Actions
Scrape URL
Name: scrapeUrl
Extracts HTML data from a given URL.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| url | URL | STRING | URL of the site that will be scraped. | true |
| original_status | Original Status | BOOLEAN Optionstrue, false | Return the original HTTP status code from the target page. Useful for debugging in case of errors. | false |
| js_render | JS Render | BOOLEAN Optionstrue, false | Enable JavaScript rendering with a headless browser. Essential for modern web apps, SPAs, and sites with dynamic content. | false |
Example JSON Structure
{
"label" : "Scrape URL",
"name" : "scrapeUrl",
"parameters" : {
"url" : "",
"original_status" : false,
"js_render" : false
},
"type" : "zenrows/v1/scrapeUrl"
}Output
Type: STRING
Scrape URL Autoparse
Name: scrapeUrlAutoparse
Get a JSON with the page's data. For most popular websites only.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| url | URL | STRING | URL of the site that will be scraped. | true |
| original_status | Original Status | BOOLEAN Optionstrue, false | Return the original HTTP status code from the target page. Useful for debugging in case of errors. | false |
| js_render | JS Render | BOOLEAN Optionstrue, false | Enable JavaScript rendering with a headless browser. Essential for modern web apps, SPAs, and sites with dynamic content. | false |
Example JSON Structure
{
"label" : "Scrape URL Autoparse",
"name" : "scrapeUrlAutoparse",
"parameters" : {
"url" : "",
"original_status" : false,
"js_render" : false
},
"type" : "zenrows/v1/scrapeUrlAutoparse"
}Output
Type: STRING
Scrape URL With CSS Selectors
Name: scrapeUrlWithCssSelectors
Extracts specific data from a given URL.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| url | URL | STRING | URL of the site that will be scraped. | true |
| css_extractor | CSS Extractor | ARRAY Items[{STRING(key), STRING(value)}] | Key-value pairs that will be scraped, where key is arbitrary parameter name and value is CSS element that you want to scrape. | true |
Example JSON Structure
{
"label" : "Scrape URL With CSS Selectors",
"name" : "scrapeUrlWithCssSelectors",
"parameters" : {
"url" : "",
"css_extractor" : [ {
"key" : "",
"value" : ""
} ]
},
"type" : "zenrows/v1/scrapeUrlWithCssSelectors"
}Output
Type: STRING
What to do if your action is not listed here?
If this component doesn't have the action you need, you can use Custom Action to create your own. Custom Actions empower you to define HTTP requests tailored to your specific requirements, allowing for greater flexibility in integrating with external services or APIs.
To create a Custom Action, simply specify the desired HTTP method, path, and any necessary parameters. This way, you can extend the functionality of your component beyond the predefined actions, ensuring that you can meet all your integration needs effectively.
How is this guide?
Last updated on
Zendesk
Zendesk is a customer service and sales platform that helps businesses manage customer interactions across various channels.
Zeplin
Zeplin is a collaboration tool that bridges the gap between designers and developers by providing a platform to share, organize, and translate design files into development.