Here's the magic incantation for using wget to pull a useful copy (no
postprocessing required!):

wget -krmnp -E -X/page,/message --no-check-certificate -P <target>
https://clojure.org

replace target with the directory where you want the output and you're
off to the races.

Thanks to Kresimir Sojat for working this out.

On May 19, 12:49 pm, Kei Suzuki <ksd...@gmail.com> wrote:
> I wanted to save the Clojure.org website so that I can read it when
> I'm off-line. The problem is that none of the website downloader tools
> I found is satisfactory; the pages don't look right and links are
> broken (I think I know now why they don't work by looking into the
> html and css files of the website). So I wrote a downloader in
> Clojure. It's a bit slow and inefficient (but I don't care). Besides
> it depends on the way the website is written and organized. But it
> does what I want, so I'm happy...until the website changes radically.
>
> I'll upload the code to the Clojure Google Groups file area. The file
> name is save_clojure.org.tar.bz2. Hope you find it useful too.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to