Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempting 'gs' and 'gcm' (which both can get a subscriber's channel list) instantly generates 'owner' key error #48

Open
bazbt3 opened this issue Sep 9, 2018 · 1 comment
Assignees

Comments

@bazbt3
Copy link
Owner

bazbt3 commented Sep 9, 2018

As I haven't used the app in months this might be either an API change, or a deleted channel or even one with malformed data. As I'm using what's likely to be an old version of PnutPy library it's likely I should look for an update there first.

The good news is that everything else I tried works still!

@bazbt3 bazbt3 self-assigned this Sep 9, 2018
@bazbt3 bazbt3 changed the title Attempting 'gs' (getsubscribed) instantly generates 'owner' key error Attempting 'gs' (get subscribed channel list) instantly generates 'owner' key error Sep 9, 2018
@bazbt3 bazbt3 changed the title Attempting 'gs' (get subscribed channel list) instantly generates 'owner' key error Attempting 'gs' and 'gcm' (which both can get a subscriber's channel list) instantly generates 'owner' key error Sep 9, 2018
@33mhz
Copy link

33mhz commented Sep 17, 2023

Confirmed a newer version of the library hasn't addressed it.

It does look like the library has hardcoded reference to the owner of a channel. When parsing a channel, the library assumes owner exists and parses it as a user object. I think that would be bad when a channel doesn't have an owner. :( https://github.com/pnut-api/PNUTpy/blob/master/pnutpy/models.py#L295

I can add an issue to the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants