Puppeteer proxy integration

Puppeteerプロキシ統合

新しいBright Dataの製品: スクレイピングブラウザ

Puppeteer 対応
簡単にAPI呼び出しを行い、Puppeteer(Python)、Playwright(Node.js)、またはSeleniumを使用してCDPプロトコルを介して任意の数のブラウザセッションと対話します。データを取得するためにウェブサイトとの対話が必要なスクレイピングプロジェクトに最適です。ページ上でホバリング、ボタンのクリック、スクロール、テキストの追加などが含まれます。

すくれいぴんぐぶらうざについて もっと まなびたい

Bright DataのスーパープロキシとPuppeteerの統合

  • まず、Bright Dataのダッシュボード Bright Dataのダッシュボード にアクセスし、「Zone の作成」をクリックします。
  • 「ネットワークタイプ」を選択し、保存をクリックします。
  • Puppeteer内で、’proxy-server’の値に ‘Proxy IP:Port’ を入力してください。例:brd.superproxy.io:22225
  • page.authenticate’の下で、’username’の値にBright DataのアカウントIDとプロキシゾーン名を入力してください。例:brd-customer-CUSTOMER-zone-YOURZONE。また、ゾーンの設定で見つかるゾーンのパスワードも入力してください。
  • 例:
      const puppeteer = require('puppeteer');

(async () => {
const browser = await puppeteer.launch({
headless: false,
args: ['--proxy-server=brd.superproxy.io:22225']
});

const page = await browser.newPage();

await page.authenticate({
username: 'brd-customer-[customer_ID]-zone-[zone_name]',
password: ''
});

await page.goto('http://lumtest.com/myip.json');
await page.screenshot({path: 'example.png'});

await browser.close();
})();

プロキシマネージャとPuppeteerの統合

  • ネットワーク、IPタイプ、使用するIPの数でZone を作成します。
  • プロキシマネージャをインストールします。
  • 「新しいプロキシの追加」をクリックして必要なZone と設定を選択し、「保存」をクリックします。
  • Puppeteerで「プロキシサーバー」にお客様のローカルIPとプロキシマネージャポートを入力します(たとえば、127.0.0.1:24000)
    ローカルホストIPは127.0.0.1です
    プロキシマネージャ内で作成されるポートは、24XXXです(たとえば、24000)
  • ユーザー名とパスワード値は空白のままにします。Bright Dataプロキシマネージャではスーパープロキシですでに認証されています。
      const puppeteer = require('puppeteer');

(async () => {
const browser = await puppeteer.launch({
headless: false,
args: ['--proxy-server=127.0.0.1:24000']
});
const page = await browser.newPage();
await page.authenticate();
await page.goto('http://lumtest.com/myip.json');
await page.screenshot({path: 'example.png'});
await browser.close();
})();

Puppeteer用のプロキシを取得する

Proxy badges

受賞歴のあるプロキシネットワークを搭載

72百万以上の住宅用IPアドレス、クラス最高のテクノロジー とターゲットにする能力 国、都市、運送業者、ASN プレミアムプロキシサービスを開発者にとって最高の選択肢にします

あらゆるニーズに対応するプロキシタイプ

レジデンシャルプロキシ

  • 7,200万を超えるIP
  • 195カ国で利用可能
  • ローテーションに対応する最大級のリアルピアIPネットワーク
  • 洗練されたウェブサイトすべてにアクセスしてクローリング

データセンタープロキシ

  • 1,600万を超えるIP
  • 98カ国で利用可能
  • 共有および専用のIPプールを利用可能
  • 複雑でないウェブサイトへ迅速にアクセス

ISPプロキシ

  • 60万を超えるIP
  • 35カ国で利用可能
  • IPローテーションのない本物のスタティックレジデンシャルIP
  • 複数アカウントへのログインに最適

モバイルプロキシ

  • 700万を超えるIP
  • 195カ国で利用可能
  • 世界最大のリアルピア3G/4G IPネットワーク
  • モバイル広告の検証とモバイルサイトのクローリング

業界No.1のカスタマーエクスペリエンス

どんなニーズにも対応

毎日新機能をリリース

年中無休グローバルサポート

必要な時にサポートします

完全な透明性

リアルタイムのネットワークパフォーマンス ダッシュボード

専任のアカウント
マネージャー

パフォーマンスを最適化する

ニーズに合わせたご提案

お客様のデータ収集目標を満たします

プロキシとデータ収集の分野における業界トップ

Category leader in proxies

毎日650TBの公共データが収集されている

Number of ISP proxies

毎日新機能をリリース

Serving 7/10 universities

世界有数の大学10校のうち7校にサービスを提供

Trust pilot ratings

4.6/5トラストパイロット評価

Ready to get Puppeteer proxies?

Puppeteer proxies FAQ

Puppeteer proxies are essentially the integration of proxy servers with Puppeteer, a Node.js library that provides a high-level API to control Chrome or Chromium over the DevTools Protocol. Puppeteer is often used for web scraping or automating browser tasks.

When you use Bright Data’s proxies with Puppeteer, you’re able to route your requests through our vast network of residential, datacenter, ISP, or mobile IPs. This allows you to access geo-restricted content, reduce the chance of being blocked or served misleading information, and maintain a high level of anonymity.

Bright Data’s proxies handle IP rotation automatically, so you don’t need to worry about it. Our system ensures that you get a new IP address for each request or after a certain period of time, depending on your settings.