Connect to Tor network with ruby

前端 未结 4 1306
故里飘歌
故里飘歌 2021-02-05 12:03

how can I configure Ruby web client to request web pages using Tor ?

4条回答
  •  野性不改
    2021-02-05 12:30

    You just need to work with the Proxy class. As Ivan says above, get Tor running then point Net::HTTP.Proxy at the correct localhost address and you're golden.

提交回复
热议问题