this post was submitted on 06 Sep 2023
0 points (NaN% liked)
Lemmy Support
4838 readers
1 users here now
Support / questions about Lemmy.
founded 7 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 LemmyHttplemmy = LemmyHttp('https://my.lemmy.instance/')lemmy.login('username','password')lemmy.edit_community(community_id=XXX,banner="http:/yyy.tld/img.jpg")