🕷️ 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: "Référence de l’API de ProxyRotator" description: "Consultez ProxyRotator et les stratégies de sélection et de rotation des proxies pour les sessions HTTP et de navigateur."
Rotation des proxies {#proxy-rotation}
La classe ProxyRotator permet de changer de proxy en toute sécurité depuis plusieurs threads, dans tout fetcher ou toute session.
Vous pouvez l’importer directement :
from scrapling.fetchers import ProxyRotator
::: scrapling.engines.toolbelt.proxy_rotation.ProxyRotator
handler: python
:docstring: