mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-11-26 00:58:59 +00:00
Compare commits
4 commits
7ae0271c7b
...
ed08240619
Author | SHA1 | Date | |
---|---|---|---|
ed08240619 | |||
c30039bc0e | |||
853d5df129 | |||
ab0400885e |
2 changed files with 4 additions and 2 deletions
|
@ -35,6 +35,8 @@ def scrape_posts(account):
|
||||||
# check for pleroma
|
# check for pleroma
|
||||||
pleroma = 'next' not in j
|
pleroma = 'next' not in j
|
||||||
if pleroma:
|
if pleroma:
|
||||||
|
if 'first' in j:
|
||||||
|
# backwards compatibility for older (pre-v1.0.7) pleroma instances
|
||||||
j = j['first']
|
j = j['first']
|
||||||
else:
|
else:
|
||||||
uri = "{}&min_id={}".format(outbox, last_post)
|
uri = "{}&min_id={}".format(outbox, last_post)
|
||||||
|
|
Loading…
Reference in a new issue