View as Markdown
Scrape-It.Cloud icon

Scrape-It.Cloud ACTION

Start Scraping

Initiate the scraping process for a specific endpoint. See the documentation here.
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Scrape-It.Cloud account once, then configure and run Start Scraping from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "scrape_it_cloud-start-scraping",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    scrape_it_cloud: { authProvisionId: "apn_xxxxxxx" },
    url: "URL",
    headers: "Headers",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Start Scraping inputs
Property Type Description
url URL string
Specify the URL of the web page you would like to scrape.
Required
headers Headers object
Specify custom HTTP headers to be passed to the request. For example, in order to override the User-Agent header, use User-Agent as a key and Teapot as a value.
Optional
blockResources Block Resources boolean
By default Scrape-it.cloud do not block images and CSS in the scraped page. To speed up requests and block images and CSS set this parameter value to true.
Optional
blockUrls Block URLs string[]
If you want to block some resources except images and CSS, for example, analytics scripts you can add part of the urls to be blocked. Follow Blocking URLs page to get more information.
Optional
wait Wait integer
Some websites may use javascript frameworks that may require a few extra seconds to load their content. This parameters specifies the time in milliseconds to wait for the website. Recommended values are in the interval 5000 - 10000.
Optional
waitFor Wait For string
Specify a CSS selector and the API will wait 30 seconds until the selector appears.
Optional
screenshot Screenshot boolean
If you want to get a screenshot of the page you want to scrape, set screenshot parameter value to true.
Optional
jsScenario JS Scenario string[]
If you want to do some acts on the pages you want to scrape, for example, go to the next one, set JavaScript scenario to API call. Follow JavaScript Execution page to get more information.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
scrape_it_cloud-start-scraping
Version
0.0.2
App
Scrape-It.Cloud
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes