Y2Z / monolith

⬛️ CLI tool for saving complete web pages as a single HTML file
https://crates.io/crates/monolith
Creative Commons Zero v1.0 Universal
10.68k stars 305 forks source link

Archiving an onion site #299

Open trentwiles opened 2 years ago

trentwiles commented 2 years ago

I'm trying to archive an onion, but monolith ignores torsocks.

My command:

torsocks monolith http://tcecdnp2fhyxlcrjoyc2eimdjosr65hweut6y7r2u6b5y75yuvbkvfyd.onion/ -o dutch.html
# returns an error because Tor is bypassed

How can I use localhost:9050 as a proxy?

snshn commented 2 years ago

Hi there @RiversideRocks!

I believe this should work: https://github.com/Y2Z/monolith#proxies

More info here: https://stackoverflow.com/questions/49561309/wrap-tor-socks-proxy-with-http-proxy-in-command-line

Please let me know if that resolves the issue.