this post was submitted on 06 Sep 2023
0 points (NaN% liked)
Lemmy Support
4812 readers
4 users here now
Support / questions about Lemmy.
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Well, I've finally found a way using plemmy instead of Lemmy.py. Basically :
from plemmy import LemmyHttp
lemmy = LemmyHttp('https://my.lemmy.instance/')
lemmy.login('username','password')
lemmy.edit_community(community_id=XXX,banner="http:/yyy.tld/img.jpg")