Hey does anyone know if i can

Hey does anyone know if i can programatically change the proxy ? like on certain conditions met i want to change the next random proxy.
3 Replies
fascinating-indigo
fascinating-indigo•13mo ago
Expected approach https://docs.apify.com/academy/expert-scraping-with-apify/solutions/rotating-proxies and you can https://crawlee.dev/api/core/interface/SessionPoolOptions#createSessionFunction or use BasicCrawler and do sendRequest (probably easier and more straight forward approach for your case)
VI - Rotating proxies/sessions | Academy | Apify Documentation
Learn firsthand how to rotate proxies and sessions in order to avoid the majority of the most common anti-scraping protections.
continuing-cyan
continuing-cyan•13mo ago
perfect thank you this works
MEE6
MEE6•13mo ago
@kprocks just advanced to level 1! Thanks for your contributions! 🎉

Did you find this page helpful?