News for hackers. Stuff that matters.
Re:How to archive a website that's shutting down soon by toomuchtodo on Sunday January 09, 2022 @09:13PM (#29869791)
Re:How to archive a website that's shutting down soon by marcua on Monday January 10, 2022 @08:51AM (#29874733)
This is great! It looks like you can even grab WARCs using `wget`: https://golangexample.com/put-a-web-archive-warc-on-an-s3-bu...

I'm curious: what sort of fidelity have you seen in `grab-site`'s rewritten static asset URLs? Having to fix URLs that weren't properly rewritten ended up taking me the most time.

Re:How to archive a website that's shutting down soon by toomuchtodo on Monday January 10, 2022 @11:51AM (#29877620)
grab-site doesn't rewrite URLs, it captures the entire request and response of each http request for an asset and stores as-is for archival purposes. The quality of any mutations or transformations performed will be governed by the tooling used to consume the generated WARCs.

More detail on the WARC format can be found below:

https://www.loc.gov/preservation/digital/formats/fdd/fdd0002...

https://en.wikipedia.org/wiki/Web_ARChive

http://fileformats.archiveteam.org/wiki/WARC

Re:How to archive a website that's shutting down soon by marcua on Monday January 10, 2022 @11:57AM (#29877734)
This is really helpful! Thank you so much!