Extract Web Content Instantly: No Coding, Just URL and Columns!
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
parsera: {
type: "app",
app: "parsera",
}
},
async run({steps, $}) {
const data = {
"url": "https://news.ycombinator.com/",
"attributes": [
{
"name": "Title",
"description": "News title"
},
{
"name": "Points",
"description": "Number of points"
}
]
}
return await axios($, {
method: "POST",
url: `https://api.parsera.org/v1/extract`,
headers: {
"X-API-KEY": `${this.parsera.$auth.api_key}`,
"Accept": `application/json`,
},
data,
})
},
})
The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.