BatchExplorer icon indicating copy to clipboard operation
BatchExplorer copied to clipboard

Setproxy on browser and python environment too

Open timotheeguerin opened this issue 6 years ago • 1 comments

Resolve the proxy settings from electron and pass them to python process

mainWindow = new BrowserWindow({})
const ses = mainWindow.webContents.session;
ses.resolveProxy('url_you_need_to_achieve', (proxy) => {
    // do whatever you want with proxy string, that contains proxy-setting
});

timotheeguerin avatar Jun 18 '18 15:06 timotheeguerin

As part of this issue look into removing dependency on get-proxy-settings

bgklein avatar Aug 21 '19 18:08 bgklein