import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
scrapfly: {
type: "app",
app: "scrapfly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.scrapfly.io/scrape`,
params: {
key: `${this.scrapfly.$auth.api_key}`,
url: `https://pipedream.com`,
render_js: `true`,
asp: `true`,
},
})
},
})
Automate content extraction from any text-based source using AI, LLM, and custom parsing. See the documentation
Retrieve current subscription and account usage details from Scrapfly. See the documentation
Scrapfly uses API keys for authentication. When you connect your Scrapfly account, Pipedream securely stores the keys so you can easily authenticate to Scrapfly APIs in both code and no-code steps.