import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
scrapeless: {
type: "app",
app: "scrapeless",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.scrapeless.com/api/v1/me`,
headers: {
"x-api-token": `${this.scrapeless.$auth.api_key}`,
},
})
},
})
Retrieve the result of a completed scraping job. See the documentation
Submit a new web scraping job with specified target URL and extraction rules. See the documentation
Scrapeless uses API keys for authentication. When you connect your Scrapeless account, Pipedream securely stores the keys so you can easily authenticate to Scrapeless APIs in both code and no-code steps.