Easy to use no-code web scraping and data extraction software.
Emit new event when an automation run has finished running. See the documentation
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
Triggers a pre-built automation by providing the scraper ID. See the documentation
The Browserhub API offers automation and control over browser sessions, enabling users to create, manipulate, and extract data from web pages programmatically. Integrating Browserhub with Pipedream opens a world of possibilities for automating web interaction workflows, monitoring website changes, scraping data, and testing web applications. Pipedream's serverless platform allows for easy orchestration of API calls and data handling, making it a powerful tool for developers to harness the capabilities of Browserhub in a scalable and efficient manner.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
browserhub: {
type: "app",
app: "browserhub",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.browserhub.io/v1/status`,
headers: {
Authorization: `Bearer ${this.browserhub.$auth.api_key}`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS