mirror of
https://github.com/myned/modufur.git
synced 2024-11-02 05:02:39 +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)
|
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']:
|
for post in posts_request['posts']:
|
||||||
posts[post['id']] = {'artist': ', '.join(
|
posts[post['id']] = {'artist': ', '.join(
|
||||||
post['artist']), 'file_url': post['file_url']}
|
post['artist']), 'file_url': post['file_url'], 'score': post['score']}
|
||||||
page += 1
|
page += 1
|
||||||
|
|
||||||
return pool, posts
|
return pool, posts
|
||||||
|
|
Loading…
Reference in a new issue