Python script to transfer subreddit subscriptions to Lemmy - GitHub - induna-crewneck/Reddit-Lemmy-Migrator: Python script to transfer subreddit subscriptions to Lemmy
One thing that annoyed me about moving to Lemmy was that I'd lose my subreddits and that looking for and joining communities on Lemmy would be tedious. So (logically) I spent 2 days writing a script, that gets a list of your subreddits from your reddit account and looks for communities with the same name on Lemmy. It also joins those communites. So all you have to do is download, enter your credentials and you're done.
because it is not unequivocal mapping and he asks how you deal with the situation where you have 10 possible replacements. do you just sign to all of them?
Ah gotcha. It looks for the community on lemmy.world. It also searches for the community with the most subscribers. So for example you're looking for "videos" and that's on lemmy.world but also on lemmy.ml with more members, in this case you'd be subscribed to both.
Probably, I looked through the code briefly and it seems like its automating a headless browser to grab the subs from reddit, checking them on lemmy and subbing to them. You can likely replace it with kbin as needed. This is a quick scroll through though, I may be missing something here
Because some of these communities are more official than others. For example, I modded /r/simpleliving and made [email protected], but [email protected] also exists. It would be a bit annoying if users were directed to the less-active and less-official community over the one I made just because it happens to be on lemmy.world.