tr4n5l4te icon indicating copy to clipboard operation
tr4n5l4te copied to clipboard

Proxy

Open emmx opened this issue 4 years ago • 1 comments

It would be great to have an option to add a proxy, something like follows:

proxy = { addr: "127.0.0.1", port: 80, user: "foo", pass: "bar" }
Tr4n5l4te::Translator.new sleep_time: 3, proxy: proxy

Looks like you can add the proxy to Capybara by using the phantomjs_options array, apart from "--load-images=no", but there's no way to add options to it from the outside.

--load-images=no
--proxy=addr:port
--proxy-auth=user:pass

Any idea?

emmx avatar Sep 13 '20 23:09 emmx

Hey thanks Matt. It certainly would be useful to do this for certain situations. I'm stretched pretty thin right now but I'll try to dig into it this week and get that in place. Stay tuned.

midwire avatar Sep 14 '20 18:09 midwire