mirror of
https://github.com/nova-r/fediplug.git
synced 2025-02-02 14:17:06 +01:00
Merge branch 'mastoApiFix' of git://github.com/bowlercaptain/fediplay into bowlercaptain-mastoApiFix
This commit is contained in:
commit
7a45adbca9
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ def login(api_base_url, email, password):
|
|||
def stream(api_base_url):
|
||||
client = Mastodon(client_id='clientcred.secret', access_token='usercred.secret', api_base_url=api_base_url)
|
||||
listener = StreamListener()
|
||||
client.user_stream(listener)
|
||||
client.stream_user(listener)
|
||||
|
||||
def extract_tags(toot):
|
||||
return [tag['name'] for tag in toot['tags']]
|
||||
|
|
Loading…
Reference in a new issue