You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fire-eggs
changed the title
Support Danbooru "Common Search Parameters" ; at least 'page'
Support Danbooru "Common Search Parameters" ; at least 'page' and 'limit'
Nov 8, 2021
Detailed Description
The Danbooru API docs mention that all searches support a common set of parameters.
None of these common parameters are supported in api_danbooru.py.
I'm specifically interested in the "page" parameter.
Context
I am attempting to use pybooru to fetch notes for all posts [see my project Danbooru2019]. This because qwern doesn't include notes in his dataset.
Anywho, I found the note API will only return 20 notes for a given post. I.e. I'm using
pybooru
as follows:And this only returns 20 notes, whereas post id 77 actually has 21 notes.
So I need to be able to request pages to get all notes, e.g.:
Possible Implementation
Reworking
api_danbooru.py
,note_list
as follows appears to do the trick [documentation removed for conciseness]:Your Environment
The text was updated successfully, but these errors were encountered: