38
submitted 1 year ago by usernotfound@lemmy.ml to c/lemmy@lemmy.ml

(attempt to cross-post from /c/programming )

Idea: Scrape all the posts from a subreddit as they're being made, and "archive" them on a lemmy instance, making it very clear it's being rehosted, and linking back to the original. It would probably have to be a "closed" lemmy instance specifically for this purpose. The tool would run for multiple subreddits, allowing Lemmy users to still be updated about and discuss any potential content that gets left behind.

Thoughts? It's probably iffy copyright-wise, but I think I can square my conscience with it.

top 11 comments
sorted by: hot top controversial new old
[-] Barbarian@sh.itjust.works 16 points 1 year ago* (last edited 1 year ago)

Lemmy is based on a pull model, so if nobody on a different instance subscribes then it doesn't show up on anybody else's feeds. If an admin doesn't want that in their "All" feeds, they can block the instance.

Just make sure it's on its own instance with nothing else, something like that is bound to be EXTREMELY noisy, and not all admins are gonna be happy about it. I assume that's what you meant by closed?

[-] usernotfound@lemmy.ml 9 points 1 year ago* (last edited 1 year ago)

Yeah, exactly.

Also to reduce the chances of it colliding with an existing community. It would be an entire Lemmy instance dedicated to reddit mirroring, Lemmit ;)

But to be fair, I wasn't particularly looking forward to hosting and maintaining my own instance, but coding the tool part should be easy.

[-] Barbarian@sh.itjust.works 7 points 1 year ago

Just be aware that it might not work. Reddit implemented rate limits on page loads to combat the inevitable web scraping as they turn off the API. Test out how fast you can pull pages before putting in any real coding time.

[-] borari@sh.itjust.works 5 points 1 year ago

Reddit implemented rate limits on page loads to combat the inevitable web scraping

This whole time I was wondering how the API changes made any sense when anyone disgruntled about it could just turn to scraping, putting drastically more load on Reddit's infrastructure. It makes me feel a bit better that they aren't that clueless.

[-] Sam_uk@kbin.social 6 points 1 year ago

You could just grab the RSS? http://reddit.com/r/worldnews.rss I don't know if there is any RSS importer.

[-] usernotfound@lemmy.ml 4 points 1 year ago* (last edited 1 year ago)

Ooh, that is a very good point! I actually started something using BeautifulSoup in python, but that would save some hassle.

[-] piezoelectron@sopuli.xyz 6 points 1 year ago* (last edited 1 year ago)

Hey I LOVE this idea! I had it myself but I can't code for nuts, so glad to see someone else trying it out.

Question: how can we follow your progress? Are you thinking of creating a dedicated community/website to share updates? If one already exists then do let me know, I'd love to stay connected.

EDIT: As for copyright/concerns...if the goal is to preserve information, then maybe you have some way to pseudonymise usernames as part of the script. Or even remove usernames completely, as we're focusing on the comments.

I prefer pseudonymising, as you can replace real usernames with fake ones, so that it's still possibly to follow who's replying to whom within the context of a comment thread.

[-] knova@links.dartboard.social 3 points 1 year ago

Pretty sure this exists already. I’m not in a place where I can search and pull it up but it’s linked in the Lemmy repo. Might just need some tweaking for easier deployment for non technical users.

[-] kilgore@feddit.de 2 points 1 year ago

While these efforts to move Reddit content to Lemmy are great, wouldn't it make more sense to focus on creating more content here instead? So many people seem to want to "leave Reddit" but somehow not leave at the same time. I'll miss my niche communities but I hope they show up here with time.

[-] usernotfound@lemmy.ml 4 points 1 year ago

I get that, and the whole point of a tool like this is to make itself redundant.

I hope it will help people make the journey over to Lemmy, knowing they don't need leave anything behind. Once here, they can start contributing here.

load more comments
view more: next ›
this post was submitted on 08 Jun 2023
38 points (97.5% liked)

Lemmy

11948 readers
3 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