News for hackers. Stuff that matters.
Re:Ask HN: Do you still use browser bookmarks? by falcolas on Friday April 07, 2017 @10:05PM (#14064861)
Here's part of that script you're talking about:

    wget --recursive --level=5 --convert-links --page-requisites --wait=1 --random-wait --timestamping --no-parent $1
Combine with something to parse out the Chrome bookmarks (it's XML, IIRC), and it wouldn't take too long to nail down.
Re:Ask HN: Do you still use browser bookmarks? by Houshalter on Saturday April 08, 2017 @12:49AM (#14065365)
Chrome has the option to export all bookmarks to an html file, which I think can be given as an input to wget.

Now if I understand that correctly, won't it recursively download every web page and all it's links 5 levels deep? Because that could be quite enormous if there are just a few web pages with lots of links...

Re:Ask HN: Do you still use browser bookmarks? by fenchurchh on Saturday April 08, 2017 @05:26AM (#14066133)
You will get some duplicates of Kevin Bacon's homepage but should be fine otherwise.
Re:Ask HN: Do you still use browser bookmarks? by fasquoika on Sunday April 09, 2017 @02:00AM (#14070735)
Also around 500 papers about number theory
Re:Ask HN: Do you still use browser bookmarks? by falcolas on Saturday April 08, 2017 @09:23AM (#14066769)
It won't traverse across domains without an explicit argument, so it won't go too crazy. It also won't backtrack, so you won't end up with a complete copy of a blog if you've only bookmarked a single article. You can, of course, reduce the maxdepth to 1 pretty safely, if you don't think you'll need more than the specific bookmarked page.

I use that for programming language documentation - for example I'll hit the root page of Python's standard library documentation, and get everything I need locally.