with Mintlify and FireCrawl?
Crawls a given URL and returns the contents of sub-pages. See the documentation
Extract structured data from one or multiple URLs. See the documentation
Obtains the status and data from a previous crawl operation. See the documentation
Obtains the status and data from a previous extract operation. See the documentation
Maps a given URL using Firecrawl's Map endpoint. Optionally, you can provide a search term to filter the mapping. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mintlify: {
type: "app",
app: "mintlify",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mintlify.com/v1/project/update-status/{statusId}`,
headers: {
Authorization: `Bearer ${this.mintlify.$auth.admin_api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
firecrawl: {
type: "app",
app: "firecrawl",
}
},
async run({steps, $}) {
const data = {
"url": "https://pipedream.com",
}
return await axios($, {
method: "post",
url: `https://api.firecrawl.dev/v0/crawl`,
headers: {
Authorization: `Bearer ${this.firecrawl.$auth.api_key}`,
},
data,
})
},
})