Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Augwiki
Search
Search
Appearance
Create account
Log in
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Editing
Booru Bulk Downloader (Userscript)
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== The Hard Part: Finding The Original == The thumbnail <code><img></code> is never the original, and every booru hides the original differently. The resolver works in three tiers, cheapest first, cached per post id: # '''DOM attribute''' β Danbooru puts <code>data-file-url</code> directly on the thumbnail. Zero extra requests. # '''Site JSON API''' β <code>?page=dapi&s=post&q=index&json=1&id=N</code> (Gelbooru family) or <code>post.json?tags=id:N</code> (Moebooru family), returning <code>file_url</code> plus tags. # '''Post page HTML''' β fetch the post page and read <code>og:image</code> and the tag links. Universal, and needs no API key. This is the tier that saves you when a site starts demanding credentials. Site support is a data array β host regex, item selector, id/link/original extractors, tag source, and API shape β so adding a booru is one object plus one <code>@match</code> line. Anything exposing a <code>data-file-url</code>-style attribute is handled by a built-in generic adapter.
Summary:
Please note that all contributions to Augwiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Augwiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Booru Bulk Downloader (Userscript)
(section)
Add topic