1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-11-26 00:58:59 +00:00

Compare commits

..

No commits in common. "ed08240619a90c37181ecda1c9e5826fb9e712e2" and "7ae0271c7b2feb9c0663c92eb187e566661e92b0" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View file

@ -35,9 +35,7 @@ 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: j = j['first']
# backwards compatibility for older (pre-v1.0.7) pleroma instances
j = j['first']
else: else:
uri = "{}&min_id={}".format(outbox, last_post) uri = "{}&min_id={}".format(outbox, last_post)
r = requests.get(uri) r = requests.get(uri)

View file

@ -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-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="/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> <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>
<div class="container" style="min-height: 300px;"> <div class="container" style="min-height: 300px;">