louisdck
02/24/2025, 3:44 PMJavascript
const proxyConfiguration = await Actor.createProxyConfiguration({
groups: ['RESIDENTIAL'],
countryCode: 'FR',
});
https://cdn.discordapp.com/attachments/1343609357027381268/1343609357366988870/image.png?ex=67bde539&is=67bc93b9&hm=f7949ce71e5a7113f9b239375bc0934704f367ad43c8f4d5f9860c3a55b6eb82&Hall
02/24/2025, 3:44 PMmarco.gullo_apify
02/24/2025, 3:59 PMgroups, you will be using them, and you will be able to select a country for the proxies. They support this, as stated here: https://docs.apify.com/platform/proxy/datacenter-proxy.
Unfortunately, you can select only one country at a time with the countryCode parameter.
Nevertheless, you could try using the groups array: since the datacenter proxies correspond to the auto group, and you can suffix the country you want, you could try doing:
const proxyConfiguration = await Actor.createProxyConfiguration({
groups: ['auto-FR', 'auto-DE', 'auto-IT', ...],
});louisdck
02/24/2025, 4:06 PM