Getting access to 网络解锁器
Bright data offers two methods to use web unlocker in your scraping task:- Use an HTTPS proxy access point
-
New: Beta Release
: Use an HTTPS Web API access point
Accessing 网络解锁器 as HTTPS proxy
In order to access the web unlocker you will need to provide credentials which are comprised of:- Your customer ID
- Your web unlocker zone name
- Your web unlocker password
- Bright Data SSL certificate
Customer ID
Customer ID can be found in the welcome email you received, or by clicking your account initial letter on the top right screen of your control panel, or by clicking here: Account settings .Zone name and password
You zone name and password can be found in the overview tab of your unlocker zone in control panel.Bright Data SSL Certificate
Prevent SSL errors by setting up Bright Data SSL certificate
网络解锁器: HTTPS Proxy code examples
Once you have your credentials, use the following code to send your first request:Expand for code examples
Expand for code examples
输出
Accessing 网络解锁器 as API endpoint - Beta release
Access via API endpoint is a new feature, released as beta
- Your web unlocker zone name
- A Bright Data API key
Zone name
You zone name can be found in the overview tab of your unlocker zone in control panel.Bright Data API Key
Bright Data API key is a generated secret hash which is used to authenticate your access to the web unlocker service via the web API endpoint. To generate the API key click here to get to Account settings , scroll down and click the “Add token” button, and follow the instructions on screen. We strongly recommend to have an expiration date set on your token for increased security. The token will be shown to you on the screen only so make sure you copy and store it in a safe location per your organization’s policies
网络解锁器: API Endpoint code examples
To use 网络解锁器 via the API endpoint you should use the following parameters:-
API Endpoint:
https://api.brightdata.com/request
- API Key
- 网络解锁器 zone name
- Target URL
-
Response format:
raw
cURL