Skip to content

๐Ÿ•ท๏ธ 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

566 B
Raw Blame

title: "ProxyRotator API ์ฐธ๊ณ  ๋ฌธ์„œ" description: "HTTPยท๋ธŒ๋ผ์šฐ์ € ์„ธ์…˜์—์„œ ProxyRotator๋กœ ํ”„๋ก์‹œ๋ฅผ ์„ ํƒํ•˜๊ณ  ๊ต์ฒดํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ํ™•์ธํ•˜์„ธ์š”."

ํ”„๋ก์‹œ ๊ต์ฒด {#proxy-rotation}

ProxyRotator๋Š” ๋ชจ๋“  Fetcher์™€ ์„ธ์…˜์—์„œ ํ”„๋ก์‹œ๋ฅผ ๊ต์ฒดํ•ฉ๋‹ˆ๋‹ค. ์—ฌ๋Ÿฌ ์Šค๋ ˆ๋“œ์—์„œ ์•ˆ์ „ํ•˜๊ฒŒ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋‹ค์Œ์ฒ˜๋Ÿผ ์ง์ ‘ ๊ฐ€์ ธ์˜ฌ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:

from scrapling.fetchers import ProxyRotator

::: scrapling.engines.toolbelt.proxy_rotation.ProxyRotator

handler: python
:docstring: