this post was submitted on 12 Jan 2024
73 points (98.7% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54500 readers
358 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

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.

all 14 comments
sorted by: hot top controversial new old
[–] [email protected] 20 points 10 months ago (1 children)

I've used HTTrack in the past

It worked well for the websites that I tried it on and it's pretty easy to run. You could give it a go?

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

[–] [email protected] 5 points 10 months ago (1 children)

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. 🤔

[–] [email protected] 15 points 10 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.

[–] [email protected] 11 points 10 months ago* (last edited 10 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"

[–] [email protected] 11 points 10 months ago* (last edited 10 months ago) (2 children)

I’ve used wget to mirror websites. It works very well.

[–] [email protected] 4 points 10 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
[–] [email protected] 0 points 10 months ago

This is the way

[–] [email protected] 8 points 10 months ago

You should look into curl https://curl.se/

[–] [email protected] 5 points 10 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

[–] [email protected] 3 points 10 months ago
[–] [email protected] 3 points 10 months ago

Check if wayback machine solve your problem ? https://archive.org/web/

[–] [email protected] 1 points 10 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.

[–] [email protected] 1 points 9 months ago

grabsite works really well, can recommend