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

Free and Open Source Software

17939 readers
17 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
[โ€“] jon@lemmy.tf 2 points 1 year ago (1 children)

The LemmyImporter repo expects you to already have all your post data in a json file- it has a link in the readme to a Lemmygrad.ml comment with a Python script. Seems like it would do exactly what I want, if Pushshift was working. I may be able to fiddle with it enough over the weekend to hit Reddit directly, though.

[โ€“] retrolasered@lemmy.zip 1 points 1 year ago

Oh right. Apologies, did a classic and skipped the readme! 10 minutes documentation 10 hours something or other ๐Ÿ˜†