BrightData icon

BrightData

Interact with Bright Data to scrape websites or use existing datasets from the marketplace to generate adapted snapshots

Web Unlocker → Send a Request

AI-generated

Overview

This node interacts with the Bright Data platform, specifically providing functionality to send HTTP requests through the Web Unlocker resource. It allows users to specify a zone, country, HTTP method, URL, and response format to send a request via Bright Data's proxy network. This is useful for scenarios where users want to access web content through different geographic locations or zones to bypass restrictions or gather localized data.

Use Case Examples

  1. Sending a GET request to a website through a specified proxy zone and country to scrape localized content.
  2. Using POST or other HTTP methods to interact with web APIs via Bright Data's proxy network.
  3. Retrieving raw or JSON formatted responses from web requests routed through Bright Data's infrastructure.

Properties

Name Meaning
Zone The proxy zone to use for the request, selected from a list of active zones.
Country The country to route the request through, selected from a list of available countries.
Method The HTTP method to use for the request.
URL The URL to which the HTTP request will be sent.
Format The format of the response expected from the request.

Output

JSON

  • zone - The proxy zone used for the request.
  • country - The country used for routing the request.
  • method - The HTTP method used for the request.
  • url - The URL to which the request was sent.
  • format - The format of the response (raw or json).
  • response - The response data returned from the Bright Data API for the request.

Dependencies

  • Bright Data API

Troubleshooting

  • Ensure that the 'zone' and 'country' parameters are correctly selected from the available lists; invalid or missing values will cause errors.
  • The 'url' parameter must be a valid URL string; malformed URLs will result in request failures.
  • The node requires valid Bright Data API credentials; missing or incorrect credentials will cause authentication errors.
  • If the response format is set to JSON, ensure the target URL returns valid JSON; otherwise, parsing errors may occur.

Links

Discussion