Comments (3)
The import doesnt remove any existing saved posts, it only adds new ones. Same for followed communities just above. Did you test this properly?
from lemmy.
I guess I didn't, my bad.
from lemmy.
seems like you can't import just a list of communities though
I was looking at this post https://feddit.uk/post/11434169
decided to build a little Javascript:
var links = document.querySelectorAll('#postContent a');
var coms = [];
links.forEach((i) => {
var m = i.text.match(/!(.+)@(.+)/);
if(m) {
var c = 'https://' + m[2] + '/c/' + m[1];
if(!coms.includes(c)) {
coms.push(c);
}
}
});
var json = JSON.stringify( { "followed_communities": coms }, null, 2 );
console.log(json);
got this JSON:
{
"followed_communities": [
"https://lemmy.world/c/star_wars",
"https://lemmy.world/c/starwars",
"https://lemmy.ml/c/starwars",
"https://lemmygrad.ml/c/starwars",
"https://kbin.social/c/Starwars",
"https://lemmy.dbzer0.com/c/starwars",
"https://latte.isnot.coffee/c/starwars",
"https://lemmy.world/c/starwarstelevision",
"https://lemmy.world/c/starwarsfigures",
"https://lemmy.world/c/starwarscollecting",
"https://lemm.ee/c/legostarwars",
"https://lemmy.ml/c/starwarseu",
"https://sh.itjust.works/c/thehighrepublic",
"https://lemmy.world/c/mawinstallation",
"https://chirp.social/c/starwarscantina",
"https://lemmy.world/c/starwarsmemes",
"https://lemmy.ml/c/starwarsmemes",
"https://lemmy.ml/c/otmemes",
"https://lemmy.ml/c/prequelmemes",
"https://lemmy.world/c/starwarsdadjokes",
"https://lemmy.world/c/starwarsspeculation",
"https://lemmy.world/c/themandalorian",
"https://lemmy.world/c/themandaloriantv",
"https://lemmy.world/c/starwarswhatif",
"https://lemmy.world/c/swgalaxyofheroes",
"https://lemmy.world/c/swgoh",
"https://lemmy.world/c/swlegion",
"https://lemmy.world/c/swrpg",
"https://lemmy.world/c/swtor",
"https://lemmy.world/c/starwarsarmada",
"https://lemmy.ml/c/sw_unlimited",
"https://lemmy.world/c/starwarsempireatwar",
"https://lemmynsfw.com/c/starwarsnsfw"
]
}
and I got this error when trying to import:
{"error":"unknown","message":"There are no changes to save. This query cannot be built"}
from lemmy.
Related Issues (20)
- [Bug]: Communities with broken outboxes HOT 2
- [Bug]: Thumbnails still broken
- [Bug]: Text for deleted and removed comments always returned over API HOT 1
- "Show children" option for modlog
- [Bug]: Importing user settings doesnt import all blocks HOT 6
- Question: What is the motivation for using ISO strings instead of UTC epoch/unix Timestamps HOT 11
- liked_only and disliked_only should filter out own users' posts/comments HOT 1
- Search post by title only. HOT 1
- [Bug]: Woodpecker crates.io publish failing on tag. HOT 2
- [Bug]: `0.19.4-beta.6` performance issues HOT 13
- Per-user URL Blocklist
- [Bug]: Contents of removed comments are no longer visible via API for moderators and admins HOT 5
- Do you agree to follow the rules in our Code of Conduct? HOT 3
- Get random community
- Modlog should have entries for bulk-removed items, such as a result of a community/instance ban with content removal HOT 7
- [Bug]: Inbound federation of home-instance bans from <0.19.4 instances does not work in 0.19.4-beta.6 HOT 1
- [Bug]: Reports are no longer sent to user's home instance in 0.19.4-beta.6 HOT 8
- [Bug]: NodeInfo implementation doesn't meet the 2.0 specification
- [Bug]: Image proxying broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lemmy.