with ScrapeGraphAI and Anchor Browser?
Extract content from HTML content using AI by providing a natural language prompt and the HTML content. See the documentation
Creates a new profile from a session. A Profile stores cookies, local storage, and cache. See the documentation
Convert any webpage into clean, readable Markdown format. See the documentation
Deletes an existing profile by its name. See the documentation
Extract content from a webpage using AI by providing a natural language prompt and a URL. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
scrapegraphai: {
type: "app",
app: "scrapegraphai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.scrapegraphai.com/v1/credits`,
headers: {
"sgai-apikey": `${this.scrapegraphai.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
anchor_browser: {
type: "app",
app: "anchor_browser",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.anchorbrowser.io/api/profiles`,
headers: {
"anchor-api-key": `${this.anchor_browser.$auth.api_key}`,
},
})
},
})