🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Python aiai-scrapingautomationcrawlercrawlingcrawling-pythondatadata-extractionmcpmcp-serverplaywrightpythonscrapingselectorsstealthweb-scraperweb-scrapingweb-scraping-pythonwebscrapingxpath
title: "ProxyRotator の API リファレンス" description: "HTTP とブラウザのセッションで使える ProxyRotator と、プロキシの選択・切り替え方法を確認します。"
プロキシの切り替え {#proxy-rotation}
ProxyRotator は、すべての Fetcher とセッションでプロキシを切り替えます。複数のスレッドからも安全に使えます。
次のように直接インポートできます。
from scrapling.fetchers import ProxyRotator
::: scrapling.engines.toolbelt.proxy_rotation.ProxyRotator
handler: python
:docstring: