Tor-privoxy is a Ruby Mechanize wrapper to access the web with mechanize via Tor/Privoxy It allows to use multiple Privoxy instances, switch endpoints, switch proxy when you get 4xx HTTP code Useful for web robots, scanners, grabbers when accessing sites which may ban/block you unexpectedly
Let me just say thank you for sharing this code - it helped me a lot. From my side I've just added descriptive messages to exceptions that can happern when switching tor circuits as it took me little time to figure out why my IP isn't switched and with this exceptions it will be straightforward. I hope you will find these changes useful and decide to merge.
Hi,
Let me just say thank you for sharing this code - it helped me a lot. From my side I've just added descriptive messages to exceptions that can happern when switching tor circuits as it took me little time to figure out why my IP isn't switched and with this exceptions it will be straightforward. I hope you will find these changes useful and decide to merge.
Best
Adrian