After seeing the work someone else did with migrating your subscriptions across accounts. I took their code and expanded upon it to fully synchronize your Lemmy instance accounts.
Feel free to give it a try. It’s been useful for me to have accounts in multiple instances with the instability problems right now from the big influx of users.
Let me know what you think. Hopefully it can help a few people.
Thanks for this! I haven’t been able to get it to work yet but it seems to be because the instances I use are dealing with issues.
Edit: Finally managed to get the script to complete. My advice for anyone trying this is if you run into a 502 error it’s most likely that the instance is getting hammered and that you should try again later
Yeah, for anyone that gets the 502 gateway error. That means the instance was down when it tried to login/didn’t respond. I’m going to revisit this part of the code later and see if I can fix/handle that happening so it at least goes through with the rest of the accounts. If it happens to you, just run it again and hopefully you’ll get through at least once.
Subsequent runs actually hit the servers with less requests since you can pull most of the info you need with the initial site response and I check that before making any needed requests.
Also, someone else mentioned they had a problem with the none type thing. I’m using Python 3.11 and forgot to specify that. I’ll add it to the readme when I get a chance.