this post was submitted on 29 Nov 2021
9 points (100.0% liked)

Lemmy

12468 readers
1 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
 

Hi lemmy; I've made a program that will download all the post and images for a lemmy community. It downloads them into a html file. This way users don't have to worry about losing all their post because they can download the whole community themselves.

Demo https://files.catbox.moe/8wgbm4.mp4

I hope someone finds this useful. Someone asked me for it so I provided it.

you are viewing a single comment's thread
view the rest of the comments
[–] leslieriver@fapsi.be 1 points 2 years ago (1 children)

actually lemmy allows getting any number of posts with one request.

[–] masterofballs@wolfballs.com 1 points 2 years ago* (last edited 2 years ago)

I still don’t think it’s a great idea to get an entire large community at once. Ill play with trying an entire large community like memes later when I get a minute. Either way the way I have it you can still specify a really large limit. Pass in 700 and it will attempt 700 at once. Pass in 50 and it will do it in chunks of 50. In either case it will get the entire community and not stop at the number provided .

edit: Manages to get all 601 post from /c/memes in a few seconds. Which is cool. I'm just gonna make the default page size at like 100 instead of 10.