Add parameters

This commit is contained in:
Antonio J. Delgado 2024-01-27 23:55:22 +02:00
parent 103c8a6605
commit 80480620fa

View file

@ -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'''