比如说,我需要定期访问 OtherSite.com/myfile.xml,并且我想通过 Tor network 自动下载它。 .
我可以在不打开浏览器的情况下通过 Tor 网络路由 cURL 发送的请求吗?
最佳答案
您可以使用torify
。
根据 https://linuxaria.com/howto/how-to-anonymize-the-programs-from-your-terminal-with-torify :
torify is a simple wrapper that attempts to find the best underlying Tor wrapper available on a system. It calls torsocks or tsocks with a tor specific configuration file.
torifycurl OtherSite.com/myfile.xml
关于tor - 通过 Tor 网络路由 cURL 请求,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50371531/