Add parameters
This commit is contained in:
parent
103c8a6605
commit
80480620fa
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class DiscoverMastodonServers:
|
|||
|
||||
def get_timeline(self, server):
|
||||
'''Get the data of a public timeline for a given server'''
|
||||
return self.get_path(server, 'api/v1/timelines/public')
|
||||
return self.get_path(server, 'api/v1/timelines/public?remote=true&limit=40')
|
||||
|
||||
def get_path(self, server, endpoint):
|
||||
'''Get the data of an endpoint of a server'''
|
||||
|
|
Loading…
Reference in a new issue