1
1
2
1
3
1
4
1
5
1
6
1

If I use pythorhead to log in to one lemmy instance, can I still post to a community on a different instance? I tried using discover_community to search for the community (with @community@instance) but that didn't work.

Is this possible, or can I only post to communities on the instance I am logged in on via the script?

7
1
8
1
9
1
10
1
11
1
12
1
13
1
14
1
submitted 1 year ago* (last edited 1 year ago) by HorseFD@lemmy.buzz to c/pythorhead@lemmy.dbzer0.com

Hi, I'm looking for a bit of help getting a list of communities the authenticated user is subscribed to.

I'm getting the list like this:

communities = lemmy.community.list(type_=ListingType.Subscribed)

However despite specifying the _type as ListingType.Subscribed, I'm still getting back a list that includes items with the value:

'subscribed': 'NotSubscribed'

It's very possible that I'm interpreting how this works wrong, so if someone has any tips for doing this I'd be very appreciate.

Thanks!

15
1
16
1
17
1
18
1

The CI/CD pipeline for Pythorhead has been adjusted make a post in !pythorhead@lemmy.dbzer0.com whenever a new release is published.

19
1
20
1
So many uses already! (lemmy.dbzer0.com)

Pythörhead

0 readers
0 users here now

A community to post announcements, updates, integrations and even memes about the first & best Lemmy Python Library

founded 1 year ago
MODERATORS