with Crawlbase and Typefully?
Schedules a draft for publication at a specific date and time. See the documentation
Schedules an existing draft for publication in the next available time slot. See the documentation
The Crawlbase API provides powerful tools for web scraping and data extraction from any webpage. It handles large-scale data collection tasks, bypassing bot protection and CAPTCHAs, and returning structured data. Within Pipedream, you can leverage Crawlbase to automate the harvesting of web data, integrate scraped content with other services, and process it for analysis, reporting, or triggering other workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
crawlbase: {
type: "app",
app: "crawlbase",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.crawlbase.com/account`,
params: {
token: `${this.crawlbase.$auth.api_token}`,
product: `crawling-api`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
typefully: {
type: "app",
app: "typefully",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.typefully.com/v1/notifications/`,
headers: {
"x-api-key": `${this.typefully.$auth.api_key}`,
},
params: {
kind: `activity`,
},
})
},
})