mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 21:02:38 +00:00
Added score return for _get_pool
This commit is contained in:
parent
7d37eb58bf
commit
7e6abef2a5
1 changed files with 1 additions and 1 deletions
|
@ -600,7 +600,7 @@ class MsG:
|
|||
posts_request = await u.fetch('https://{}.net/pool/show.json'.format(booru), params={'id': tempool['id'], 'page': page}, json=True)
|
||||
for post in posts_request['posts']:
|
||||
posts[post['id']] = {'artist': ', '.join(
|
||||
post['artist']), 'file_url': post['file_url']}
|
||||
post['artist']), 'file_url': post['file_url'], 'score': post['score']}
|
||||
page += 1
|
||||
|
||||
return pool, posts
|
||||
|
|
Loading…
Reference in a new issue