tr4n5l4te
tr4n5l4te copied to clipboard
Proxy
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?
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.