User avatar
nycki @nycki@bark.lgbt
4mo
protip: find some useful information on a website? worried it might not be there next time you look? run this command to download it:

wget -pkcE --wait 1
example.org

explanation:
- wget: get something from the web
- p: "page requisites", aka include any images on the page.
- k: convert links on the original page, so that your archived page doesn't look for its images on the real website.
- E: fix extensions. basically this means that if the original page was not .html, it will be converted to .html.
- c: continue. if you interrupt the download you can run this command again and it will continue where it left off.
- wait 1: wait one second between downloads so you don't spam the website with requests. optional, but polite.

you can also add -m if you want to mirror the
entire website. this will grab other html files from links and then download their dependencies too. this is probably overkill if you just want to save a blog post, but it's good to know it exists.

based on a tip I found here:

dheinemann.com/archiving-a-website-with-wget/

3
6
1
0
User avatar
keeri Blobhaj_Love @keeri@pawb.fun
4mo
@nycki i like the SingleFile extension for archiving the whole page into a single chonky html file with a press of a button, but wget is definitely awesome for recursively saving a static copy of the whole site (when used responsibly)

addons.mozilla.org/en-US/firefox/addon/single-file/
1
0
1
0
User avatar
flori_ava_star:~cursor_blinking made-with-estrogen verifiedlesbian @star@amazonawaws.com
4mo
@keeri @nycki Ahhh if things federated better to my instance I'd have seen this before writing my own response neocat_googly_shocked
0
0
2
0