I'm on Windows 10 and read the deno manual that says you need to set up the environment variable HTTPS_PROXY so that fetch() will use the proxy.
I did so by doing
Deno.env.set('HTTP_PROXY', 'https://138.68.60.8:3128/');
Deno.env.set('HTTPS_PROXY', 'https://138.68.60.8:3128/');
yet the fetch still fetches without the proxy. Instead, if I set up a proxy in the Windows system setting, the fetch will use it. Which doesn't solve the problem though as I am trying to a proxy list rolling.