本文へスキップ
Esc

記事

プロキシとは?初心者向けにやさしく解説:仕組み、種類、使い道4Gプロキシとは?モバイルプロキシの仕組み、メリット、デメリット、使うべき場面Rotating proxies explained: rotation types and how to change a proxy IP with a linkSOCKS5 vs HTTP proxies: what's the difference and which should you use?Proxy vs VPN: what's the difference, and when should you use each?Static vs rotating proxies: how they differ, pros and cons, and when to use eachDedicated vs shared proxies: how they differ, and what "dedicated" means for a 4G proxyIPv4 vs IPv6 proxies: how they differ, why IPv6 proxies are cheap, and when they don't workHow do websites detect proxies? 8 signals anti-bot systems look atProxy glossary A to Z: 35 terms you'll meet when buying and using proxies, explained simplyProxy vs antidetect browser: how they differ, and do you need a proxy if you have antidetect?What is a residential proxy? How it works, pros and cons, and when to use oneWhat is a datacenter proxy? Pros and cons, why it's cheap, and when it's still the right choiceHow to find your IP address on a computer or phone: public IP, local IP, and your IP behind a proxyCAPTCHAが何度も出るのはなぜ?よくある9つの原因とIPとの関係reCAPTCHA・hCaptcha・Cloudflare Turnstileの違い:判定の仕組みを比較ボッティングとは?良いボットと悪いボット、そして自分の自動化の線引きHow to get a Singapore IP address: VPN, proxy, cloud server or SIM, and how to check itProxies for Facebook: managing several accounts more reliably with 4G IPsProxies for TikTok and TikTok Shop: when you need a Singapore IP and how to use it properlyProxies for advertising: checking and managing ads aimed at SingaporeProxies for e-commerce sellers: see marketplaces like a buyer, track competitors, keep store logins steadyProxies for web scraping: which type to choose, how to rotate, and how to play fairDo you need a proxy to buy tickets on ThaiTicketMajor, Ticketmelon or SISTIC?Scraping Google and Bing search results with a proxy, and when to use the API insteadHow to scrape without getting blocked: pace, sessions and clean IPsProxies for price monitoring: tracking competitor and retail prices across regionsScraping anti-bot and anti-proxy websites (Cloudflare, Akamai, DataDome): what works, and the limitsIs web scraping legal? Robots.txt, terms, personal data and copyright (Vietnam, Singapore and beyond)What are 4G proxies used for? 10 jobs mobile proxies do well, and the ones to avoid4G proxies for testing apps and websites as a Singapore mobile user: QA, ads, payments, bot rulesProxies for Instagram: managing brand and client accounts steadily with 4G IPsUsing a proxy to check flight and hotel prices as a Singapore user: when it helps and what to knowResearching the Singapore market with a proxy: see search, ads, marketplaces and competitors as a local userProxies for LinkedIn: managing B2B accounts and reaching the Singapore market the right wayProxies for X (Twitter): managing brand and client accounts steadily and within the rulesProxies for airdrops: why farming wallets through proxies gets disqualified, and how to join airdrops safelyProxies for seeding, bought likes and fake reviews: why they get caught, the risks, and lasting ways to growProxies for flash sales and limited drops: what a proxy can and can't do, and how to shop sales properlyProxies for large-scale, multi-country scraping: choosing proxy types, system design and real costsProxies for Netflix, YouTube and foreign streaming: why they usually fail, cost a lot, and what to do insteadSelling to Singapore from Vietnam: choosing channels, GST, shipping, payments and the tools you needSelling on TikTok Shop Singapore from abroad: seller requirements, workable routes and what a proxy can doThe Singapore online shopping market: who shops, where, how they pay and the big sale seasonsA workflow for agencies managing client accounts with proxies and antidetect: inventory, access, offboardingLocal SEO in Singapore: checking Google and Google Maps rankings as a Singapore user, the right wayProxies for Google Ads: when you need one, the official tools to use first, and the policy lines to knowRoblox lagging, high ping: does a proxy help, and the fixes that really reduce Roblox lagMultiple Roblox accounts (alts): what the rules allow and forbid, whether you need a proxy, and IP bansLag and high ping on Singapore game servers: do proxies or VPNs lower ping, and what actually helpsDiscord proxy: what it can and can't do, how to set it up, and managing communities the right wayShopee and Lazada Singapore proxies: see what Singapore buyers see, run your shop, track competitorsProxies for online business (MMO): which jobs need one, which type to pick and what to avoidボットと自動化のためのプロキシ:IPごとに1つのID、控えめなペース、CAPTCHAが出たときの対応How to set up a proxy on Windows, macOS, iPhone and Android (with a username and password)How to add a proxy to GoLogin, AdsPower, Hidemyacc, GenLogin and MultiloginRotate a proxy IP automatically with an API: curl, Python and Node.js examplesHow to check a proxy: IP, country, carrier, speed and DNS and WebRTC leaksCommon proxy errors and how to fix them: 407, timeouts, ERR_PROXY_CONNECTION_FAILEDScraping JavaScript-rendered sites with a headless browser and a proxy403, 429 and 503 errors when scraping: causes and how to handle them properly (with Python code)Using a proxy with Scrapy: authenticated setup, polite throttling, error fixes and rotating between runsUsing a proxy with curl and wget: HTTP, SOCKS5, authentication, environment variables and debuggingUsing a proxy in Python: requests, httpx and aiohttp with HTTP, SOCKS5 and authenticationSetting up a proxy in Chrome and Edge: a browser-only proxy without changing the whole computerSingapore proxy for Telegram: set up SOCKS5 on desktop, iPhone and Android, and how it differs from MTProtoSlow 4G proxy? How to measure speed and latency properly, and what really makes a proxy fasterUsing proxies safely: protect your proxy password, rotation link, accounts and dataUsing Proxifier for software without proxy support: SOCKS5 setup, per-app rules and DNSRoblox proxies for developers: calling Roblox APIs from HttpService, Open Cloud, and a safe self-hosted relayProtecting your Roblox account: cookie theft, "free Robux", malicious extensions, and how to stay safeHow to set up a proxy in AdsPower: HTTP or SOCKS5, where to paste it, checking the Singapore IP and rotatingHow to add a proxy to GoLogin: HTTP or SOCKS5, where to enter it, checking the Singapore IP and rotatingHow to add a proxy to GenLogin: HTTP or SOCKS5, where to paste it, checking the Singapore IP and rotatingHow to add a proxy to Hidemium: HTTP or SOCKS5, where to enter it, checking the Singapore IP and rotatingHow to add a proxy to BitBrowser: HTTP or SOCKS5, where to enter it, checking the Singapore IP and rotatingCAPTCHAが何度も出る・ループする場合の8つの対処法(試す順番つき)モバイル・住宅用・データセンタープロキシの比較:4G、家庭、サーバーのIPと選び方シンガポールプロキシ:シンガポールIPが必要な場面と、選ぶべきタイプクリーンなプロキシとブラックリスト:クリーンなIPの意味と、「ブロックされない」が神話である理由4G rotating proxies: how mobile IP rotation works, what clean rotation means and how to choose oneHow to tell a real 4G proxy from a fake: check the carrier, IP type, latency and rotationFree vs paid proxies: the real risks of free proxies, and when paying is worth itDedicated 4G proxies, not shared: why a proxy only you use matters, and how to check it yourselfHow many proxies do I need? Working out the number for accounts, teams and scrapingStatic IP proxies for allowlists, APIs and remote access: 5 options and how to choose the right oneVietnam or Singapore proxy? Choosing which country's IP fits your workSingtel, M1 and StarHub proxies: which Singapore carrier a 4G proxy runs on, and how to check itクリーンなプロキシとCAPTCHA:IPの評判がチャレンジの回数を決める仕組み汚れたプロキシの本当のコスト:CAPTCHA、再試行、帯域の浪費、アカウントのリスクSingapore SOCKS5 proxy: when to use it, how to set it up, and how to check it5G proxy vs 4G proxy: what changes, what doesn't, and whether 5G is worth paying more forCheap 4G proxies: $4 gets you 200GB, and how to compare mobile proxy prices properly before you buyRefer a friend and earn 10% on every proxy order: how the 65Proxy referral program worksWhy choose 65Proxy? 8 reasons you can verify, and when you should go elsewhere65Proxyで4Gプロキシを購入する方法:登録、チャージ、支払い、接続、ローテーションまでWhere to buy a reliable proxy? 12 things to check before paying any provider4Gプロキシを1時間トライアルでテストする:分単位のチェックリストUSDTでプロキシを購入:TRC20またはBEP20でシンガポール4Gプロキシを支払う手順4G proxy with 500GB: what the plan includes, how far 500GB goes, and how bandwidth is counted4Gモバイルプロキシのガイド

ボットと自動化のためのプロキシ:IPごとに1つのID、控えめなペース、CAPTCHAが出たときの対応

用途別 7分で読めます

この記事の内容
  1. 01 プロキシが自動化にできること、できないこと
  2. 02 IPよりも重要な5つのルール
  3. 03 チャレンジが出たら、止めて読み取る
  4. 04 例:チャレンジが出たら止まる、礼儀正しいフェッチャー
  5. 05 IPを責任をもってローテーションする
  6. 06 必要なプロキシの数と帯域
  7. 07 自動化してはいけないもの
  8. 08 65Proxy
  9. 09 よくある質問

スクリプト、定期実行のジョブ、テストスイート、ブラウザの自動操作は、いずれも人が手でクリックしたわけではないトラフィックを送ります。それこそが自動化の目的です。このガイドでは、そうした正当な自動化をプロキシ経由で安定して動かす方法を扱います。プロキシが加えてくれるもの、IPよりも重要な5つのルール、サイトがCAPTCHAで応答したときの対応、そしてチャレンジを検出して、押し切らずにきれいに停止するPythonの例です。サイトのルールを回避するための記事ではなく、そのための役にも立ちません。

プロキシが自動化にできること、できないこと

役に立つこと:

  • 場所:シンガポールの訪問者に見えるページを見る、またはシンガポールのモバイルネットワークからテストする。
  • 分離:実在するアカウントやジョブごとに専用のアドレスを持たせ、あるセッションの活動が別のセッションと混ざらないようにする。
  • より良いスタート地点:モバイルIPは、データセンターIPよりも、見つかり次第印を付けられる可能性が低く、あなた自身の挙動が評価される前に受けるチャレンジが減ります。クリーンなプロキシとCAPTCHA を参照してください。

役に立たないこと:

  • 許可:サイトが自動化を禁止しているなら、プロキシを使っても、あなたのスクリプトが許可されるわけではありません。
  • 挙動:速度、繰り返し、自動化されたように見えるブラウザは、IPとは別に読み取られます。
  • CAPTCHAとチャレンジ:チェックされるのはアドレスだけでなく訪問そのものです。当社は、それらを打ち破る手段としてプロキシを販売していません。

ボットとは何か、どの種類が歓迎されるかの概要は、ボッティングとは にあります。

IPよりも重要な5つのルール

  1. 1つのIPとセッションにつき、1つのID:Cookie、User-Agent、アカウントは、最初に使ったIPとセットで管理します。1つのアドレスで多数のアカウントを同時に動かさず、1つのアカウントを無作為にアドレス間で移動させることもしないでください。
  2. 人間のペースに、ゆらぎを加える:ページ間に数秒の間隔を置き、ランダムなばらつきを持たせ、並列接続は少なくします。固定の間隔はそれ自体がシグナルになります。詳しくは ブロックされずにスクレイピングする方法 を参照してください。
  3. 言われたら引く:429が返ったらRetry-Afterの時間だけ待ち、そのあと速度を落とします。短い間隔のループで再試行しないでください。ステータスコードは スクレイピングで出る403・429・503エラー で解説しています。
  4. 自分を名乗り、キャッシュする:必要に応じて、連絡先を添えたわかりやすいUser-Agentを使い、変更のないページを再ダウンロードしないでください。
  5. サイトが「ノー」と言ったら止める:繰り返されるチャレンジ、ブロックページ、停止の要求は、サイトの決定です。尊重してください。次のセクションを参照してください。

チャレンジが出たら、止めて読み取る

受け取ったもの 通常の意味 すべきこと
429 Too Many Requests 速すぎる Retry-Afterまで待ち、もっと遅く実行する
最初のリクエストで403。同じネットワークのブラウザは入れる プログラムにブラウザが送る情報が足りないか、IPの種類が拒否されている ヘッダーを確認し、手作業でIPをテストする。よくあるプロキシのエラー を参照
「人間であることを確認しています」ページ サイトがブラウザのチェックを求めている サイトが自動化そのものを許可しているなら、実際のブラウザを人間のペースで使う
時々1回だけCAPTCHAが出る 訪問がグレーゾーンにある 速度を落とし、セッションの一貫性を保ち、IPを確認する
CAPTCHAが続けざまに出る サイトがこのトラフィックを望んでいない 実行を止める。代わりに、APIや許可を求める

解決策のように見えて、そうではないことが2つあります。

  • IPをローテーションして、同じ速度で続ける:新しいアドレスでも、サイトは同じペースを目にします。ローテーションは制限されたIPのためのものであって、チャレンジを無視する方法ではありません。
  • CAPTCHA解決サービスを使う:チェックの目的そのものを無効にし、ほとんどのサイトの利用規約に違反し、法的リスクも高めます。当社はお勧めしません。越えてはいけない一線を参照してください。

スクリプトではなく、ループに引っかかっているのが人間の場合は、手順を CAPTCHAが何度も出る・ループする場合の8つの対処法 で説明しています。

例:チャレンジが出たら止まる、礼儀正しいフェッチャー

このPythonのスケッチは、人間のペースでプロキシ経由でページを読み込み、Retry-Afterを尊重し、チャレンジが出た瞬間に実行全体を停止します。プロキシの情報は環境変数から取得します。コードには絶対に書き込まないでください。

Python
import os
import random
import time

import requests

PROXY = os.environ["PROXY"]  # http://USER:PASS@HOST:PORT
HEADERS = {"User-Agent": "my-price-checker/1.0 (contact: [email protected])"}
MAX_TRIES = 3


class Challenged(Exception):
    """The site asked for a human. Stop the run; don't try to solve it."""


def looks_like_challenge(resp):
    # Cloudflare marks challenge responses with this header; other vendors differ.
    if resp.headers.get("cf-mitigated") == "challenge":
        return True
    body = resp.text[:20000].lower()
    return any(word in body for word in ("captcha", "verify you are human", "unusual traffic"))


def retry_after(resp, default=60):
    value = resp.headers.get("Retry-After", "")
    return int(value) if value.isdigit() else default


def polite_get(session, url):
    for attempt in range(1, MAX_TRIES + 1):
        resp = session.get(url, timeout=30)
        if looks_like_challenge(resp):
            raise Challenged(url)
        if resp.status_code == 429:
            time.sleep(retry_after(resp) * attempt)
            continue
        resp.raise_for_status()
        return resp
    raise RuntimeError(f"still rate limited after {MAX_TRIES} tries: {url}")


def run(urls):
    session = requests.Session()
    session.headers.update(HEADERS)
    session.proxies = {"http": PROXY, "https": PROXY}
    for url in urls:
        try:
            page = polite_get(session, url)
        except Challenged:
            print("Challenge page. Stopping the run:", url)
            break
        print(url, len(page.text))
        time.sleep(random.uniform(3, 8))  # a human pace, with jitter

スケッチの補足です。単語によるチェックは、CAPTCHAについて書かれた普通のページにも一致するため、対象に合わせてマーカーを調整してください。JavaScriptを多用するページには、requestsではなく実際のブラウザを使ってください。JavaScriptサイトのスクレイピングを参照してください。Pythonの一般的な設定は Pythonでプロキシを使う にあります。

IPを責任をもってローテーションする

4Gプロキシは、ローテーション用リンクを呼び出すことでローテーションし、65Proxyの各プロキシでは、それが5分に1回まで可能です。リクエストのたびではなく、IPが制限されたときにローテーションし、ローテーションのあとは新しいセッション(新しいCookie)を開始してください。サイトから見れば、新しい訪問者が来たばかりだからです。リンクを呼び出して新しいIPを待つコードは、APIでプロキシのIPをローテーションする方法 にあります。

必要なプロキシの数と帯域

  • 同時に動くIDごとに、プロキシ1つ:存在するアカウントやジョブではなく、同時に動くものを数えてください。プロキシは何個必要か で順を追って説明しています。
  • ページ容量から帯域を見積もる:典型的なページの容量に、読み込むページ数を掛けます。チャレンジされた読み込みや繰り返しの読み込みも、利用枠を消費します。測り方は 500GBはどこまで使えるか にあります。

自動化してはいけないもの

  • 自分のものではないアカウントでの操作、およびあらゆる種類の偽アカウント。
  • 偽のエンゲージメント、レビュー、フォロワー。理由は シーディング用プロキシ を参照してください。
  • 購入制限や行列の突破。これは フラッシュセールとプロキシ が説明している内容です。
  • プレイヤーの代わりに遊ぶゲームボット。
  • 法的根拠のない個人データの収集。

65Proxy

65Proxyは、正当な作業向けにシンガポールの4Gモバイルプロキシを販売しています。1注文につきプロキシ1つで、専用のログイン情報とローテーション用リンクが付き、HTTPとSOCKS5に対応し、価格は1日 $4、7日 $13、1か月 $32(各200GB)、帯域幅の大きい月額プランもあります(500GB $40、1TB $65)。まずは無料トライアルで、実際の対象サイトを1時間試してください。CAPTCHA、BAN、制限を打ち破る手段としては販売していません。

よくある質問

プロキシでボットを検出されないようにできますか?

できません。プロキシが変えるのは、サイトから見えるアドレスです。ペース、ブラウザのシグナル、挙動は別に読み取られ、サイトはいつでもどの訪問者にもチャレンジを出せます。

1分あたり何リクエストなら安全ですか?

万能な数字はありません。数秒に1リクエストから始め、429やチャレンジの割合を観察し、それが出たら速度を落としてください。ドキュメントやAPIの利用規約で上限を示しているサイトもあります。その場合はそれに従ってください。

リクエストごとにIPをローテーションすべきですか?

いいえ。セッションが壊れ、不自然に見え、各プロキシには5分のローテーション制限があるため、そもそも不可能です。IPが制限されたときにローテーションしてください。

スクリプトがCAPTCHAに遭遇したらどうすべきですか?

止めて、記録し、通知が届くようにしてください。そのあとで、ペースを確認し、APIを探すか、アクセスの許可を求めてください。上の例がその形を示しています。

PlaywrightやSeleniumでもプロキシを使えますか?

はい。どちらもユーザー名とパスワード付きのプロキシを指定できます。PlaywrightとPuppeteerの設定は APIでプロキシのIPをローテーションする方法 にあります。ペースとチャレンジのルールは、同じように当てはまります。