mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-11-25 16:48:58 +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,7 +35,9 @@ def scrape_posts(account):
|
|||
# check for pleroma
|
||||
pleroma = 'next' not in j
|
||||
if pleroma:
|
||||
j = j['first']
|
||||
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)
|
||||
r = requests.get(uri)
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<a class="button btn-primary btn-large" href="/bot/create" role="button"><i class="fas fa-robot"></i> New bot</a>
|
||||
<a class="button btn-secondary btn-large" href="/settings" role="button"><i class="fas fa-cog"></i> Account settings</a>
|
||||
<a class="button btn-secondary btn-large" href="/do/signout" role="button"><i class="fas fa-sign-out-alt"></i> Sign out</a>
|
||||
</p>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="container" style="min-height: 300px;">
|
||||
|
|
Loading…
Reference in a new issue