Login
You're viewing the code4lib.social public feed.
  • Oct 30, 2026, 12:40 PM

    @misty I have questions! (...which you are of course under no obligation to answer, but this seemed like a good place to ask them.)

    1. How does this method compare with asking archive.org or archive.is to archive a page?
    2. Is there a way to automate it -- like an API, or CLI utility, or library or something?

    I'm particularly interested in that second question because I run a wiki which links to a lot of external sites for reference, and those links often go dead over the course of the years (it's now 21 years old) -- so it would be nice if it could automatically archive every page linked.

    Thanks for this useful post! :-)

    💬 1🔄 0⭐ 0

Replies

  • Oct 30, 2026, 4:16 PM

    @woozle Those are good questions! Some answers -

    1. Asking those sites to do it means the web archives live on their servers - I’d love to see people hosting their own web archives. Both of them are suitable for single pages, but less suitable for full sites or sets of multiple pages like the tools I linked. The DIY approach also puts you more in control over the process, especially for interactive sites.

    💬 1🔄 0⭐ 0
  • Oct 30, 2026, 4:18 PM

    @woozle archive.is does captures via DOM snapshots rather than the original documents + requests, which is great for some kinds of sites but does mean that interactive elements on sites aren’t preserved. I think it’s a useful tool for articles (esp. loginwalled ones), but less for some kinds of websites. Just worth being strategic about.

    Wayback Machine Save Page Now currently has trouble with some kinds of social media sites, whereas the tools I mentioned are better at those right now.

    💬 1🔄 0⭐ 0
  • Oct 30, 2026, 4:21 PM

    @woozle 2. Yep! The browsertrix crawler is what the Browsertrix web app calls, and it’s a separate CLI app you can run on its own and script/automate around however you want. github.com/webrecorder/browser

    As for other CLI tools, wget can produce WARCs but I don’t believe it has the same support for working with interactive/JS-heavy sites since there isn’t a full browser in the picture. Another CLI tool, ArchiveBox, uses wget under the hood.

    💬 1🔄 0⭐ 0
  • Oct 30, 2026, 4:26 PM

    @misty Awesome info, thank you!

    ...and the issue with highly JS-driven sites like fedi and some other social media is a particular concern; right now I don't have any tools which can reliably archive a fedi thread as text, though there is a tool on Mathstodon which creates a thread-map as an SVG... but I'm wandering off the topic a bit. 😅

    💬 0🔄 0⭐ 0
  • Oct 30, 2026, 4:33 PM

    @woozle Makes sense, yeah! I know for sure that Browsertrix can do Mastodon posts and threads because I’ve done it at work.

    💬 0🔄 0⭐ 0