Datacenter proxies are selected by default when you are using Apify proxies, so if you omit
groups
, 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', ...],
});