Compare commits

...

4 Commits

2 changed files with 4 additions and 2 deletions

View File

@ -35,6 +35,8 @@ def scrape_posts(account):
# check for pleroma
pleroma = 'next' not in j
if pleroma:
if 'first' in j:
# backwards compatibility for older (pre-v1.0.7) pleroma instances
j = j['first']
else:
uri = "{}&min_id={}".format(outbox, last_post)