I’ve been looking online for ways to download websites (game wikis mostly), in order to have them all in my collection and ensure that they dont get taken down or changed.

After trying linkwarden, which is fine for singular web pages, one has to manually link each individual page of the wiki in order to make a pdf.

With this in mind, the only other option that I’ve discovered is using wget recursively. Do any you of you have experience with this or reccomend alternative ideas? Any and all help is appreciated.

PS: I will most likely download official game guides which will cover most of the games, but looking for something to cover all my games library.

    • Monkey With A Shell@lemmy.socdojo.com
      link
      fedilink
      English
      arrow-up
      5
      ·
      5 months ago

      I’ve got a container set up of this. Drops the output on the NAS and can be accessed from any box on the local net. The only issue is it has a tendency to need the container recycled every so often, like it just gets board sitting there and quits. 🤔

  • TropicalDingdong@lemmy.world
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    5
    ·
    5 months ago

    You wouldn’t download a website, would you?

    If you were going to do somehthing like this, you might also consider doing it on some kind of version control. You might want something that does update regularly (like a wiki), but if they ever try and paywall it, you’ve got a copy.

    Should be something you could knock out in python in an afternoon.

  • redcalcium@lemmy.institute
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    5 months ago

    SingleFile extension can save a web page into a single html file where all media are neatly inlined inside the file. You’ll have to do this manually on each page though, so it’s not ideal for saving the whole website.

    If you’re comfortable running commands in terminal, you can use SingleFile CLI to crawl the whole website, e.g.: single-file https://www.wikipedia.org --crawl-links=true --crawl-inner-links-only=true --crawl-max-depth=1 --crawl-rewrite-rule="^(.*)\\?.*$ $1"

    • Efreak@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      4
      ·
      5 months ago

      Wget2 can mirror websites also, and it also has the advantage of the following features that wget does not have:

      • downloads multiple files in parallel, speeding things up a lot
      • brotli and zstd compression support
      • uses multiple proxies for parallel downloads
      • supports sitemap indexes
      • http2 support
  • vildis@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    5
    ·
    5 months ago

    I use grab-site (unmaintained) for full site archival and wget -p -k for simple non-javascript single pages

    I’ve heard good things about HTTrack, SingleFile and Archivebox but don’t have any experience with them.

    Archivebox looks the most modern and intuitive but is hosted on docker

  • Cinner@lemmy.worldB
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    You may need a program that uses a browser (not chrome headless) to bypass cloudflare. For non-DDoS protected sites, just use any number of free open source tools.