Browserhub

Easy to use no-code web scraping and data extraction software.

Integrate the Browserhub API with the Bash API

Setup the Browserhub API trigger to run a workflow which integrates with the Bash API. Pipedream's integration platform allows you to integrate Browserhub and Bash remarkably fast. Free for developers.

Run Bash Code with Bash API on New Finished Automation Run from Browserhub API
Browserhub + Bash
 
Try it
New Finished Automation Run from the Browserhub API

Emit new event when an automation run has finished running. See the documentation

 
Try it
Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it
Run Automation with the Browserhub API

Triggers a pre-built automation by providing the scraper ID. See the documentation

 
Try it

Overview of Browserhub

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.

Connect Browserhub

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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}`,
      },
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $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