News for hackers. Stuff that matters.
Re:Waybackpack: download the entire Wayback Machine archive ... by TazeTSchnitzel on Tuesday May 03, 2016 @03:47PM (#11623632)
How much load does this place on the Internet Archive? It'd be a shame if this thing's access patterns caused them trouble.
Re:Waybackpack: download the entire Wayback Machine archive ... by greglindahl on Tuesday May 03, 2016 @03:55PM (#11623688)
If I read the code correctly, it's one-at-a-time? Which minimizes the stress; if we're slow, it'll slow down.

It'd be nice if it had identification in the UserAgent, so that we could complain to the right people if it was a problem.

Re:Waybackpack: download the entire Wayback Machine archive ... by jsvine on Tuesday May 03, 2016 @04:02PM (#11623742)
Hi, Greg! Library author here. I'd be happy to add a configurable UserAgent. Perhaps the default would be a generic "waybackpack" but could be configurable to add contact info for the user. Does that sound about right? Prefer a different approach?

And, yep, the library is intentionally designed only to request one snapshot at a time.

Re:Waybackpack: download the entire Wayback Machine archive ... by greglindahl on Tuesday May 03, 2016 @04:06PM (#11623779)
waybackpack would be a great default; encouraging the actual user to add contact info would be better for you because we could complain to them instead of you :-)
Re:Waybackpack: download the entire Wayback Machine archive ... by jsvine on Tuesday May 03, 2016 @05:28PM (#11624384)
Updated, merged, and pushed to PyPi as part of v0.1.0: https://github.com/jsvine/waybackpack/pull/5

Thanks again for the feedback. Really appreciate it — and the existence of the Internet Archive and Wayback Machine.

Re:Waybackpack: download the entire Wayback Machine archive ... by anc84 on Wednesday May 04, 2016 @04:40AM (#11627032)
IA is very supportive of automated access, they even have a post about how to use wget to batch download lots of items: https://blog.archive.org/2012/04/26/downloading-in-bulk-usin...

Granted, that is not the Wayback Machine but I am sure they love people using them.

Re:Waybackpack: download the entire Wayback Machine archive ... by nacs on Tuesday May 03, 2016 @03:52PM (#11623662)
Agreed. From a quick look at code, it seems it just fires off every fetch request immediately after another compeletes.

Hopefully it gets patched to have a built-in rate limit (X requests per minute/hour).

Re:Waybackpack: download the entire Wayback Machine archive ... by derefr on Tuesday May 03, 2016 @07:34PM (#11625074)
If it's already serial, and only works with one backend (rather than being an arbitrary mirroring tool like wget), then the Wayback server can easily "express its preferences" for rate-limiting by adding artificial delay to request-responses that pass the rate-limiting threshold. Backpressure shouldn't be the client's responsibility.

(It only is traditionally, because so many sites do nothing to protect themselves from "being too nice", so arbitrary-backend mirroring-client devs allow their users the option to ask for less than they want. This isn't a sensible protocol design, on either side; it doesn't optimize for, well, anything.)