this post was submitted on 16 Jun 2023
51 points (100.0% liked)

Free and Open Source Software

17772 readers
66 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

Has anyone made or found a script to scrape a subreddit and import it to a Lemmy community? There are a handful of smaller subs that I'd like to mirror over to my instance (with author attribution) but haven't found anything that works yet. https://github.com/rileynull/RedditLemmyImporter looks promising but links to a non-functioning Python script (tries to use Pushshift, which isn't working at the moment).

you are viewing a single comment's thread
view the rest of the comments
[–] eskuero@lemmy.fromshado.ws 5 points 1 year ago* (last edited 1 year ago)

I wrote this the past day, if you feed a single text file with Reddit links on it should work fairly decent https://lemmy.fromshado.ws/post/46

Migrating my own posts on a local instance

Cloning comments and iterating over entire subreddits is coded that too though I'm still not sure if it's a good idea to share that portion or not.