For linux/Mac, you can try to compile the source code using:
The latest source code can be pulled from https://github.com/Nandaka/DanbooruDownloader. The compiled binary can be downloaded at http://nandaka.devnull.zone/tag/danbooru-batch-download/ The previous version of compiled binary can be downloaded at https://github.com/Nandaka/DanbooruDownloader/releases
This file will be parsed when you run the applications. You can modify the xml to add new provider. The contents structure are:
If the given tags is not available, it will replaced with empty string.
Application Settings: “Minimize to System Tray” => Minimize to system tray :D “Auto Focus Currrently Downloaded” => Move the selected row to the currently downloaded image in Download List tab. “Enable Logging” => Enable general logging. “Use Colored Tags” => Enable colored tags in Main Tabs. "Use Global Tags.xml" => Only use tags.xml as the tags source. If disabled, it will try to load tags-{provider_name}.xml as the source tags.xml.
Tagging: “Artist” [5] => Limit number of Artist tags to be used in the filename format for %artist%. “Copyright” [5] => Limit number of Copyright tags to be used in the filename format for %copyright%. “Character” [5] => Limit number of Character tags to be used in the filename format for %character%. “Circle” [5] => Limit number of Circle tags to be used in the filename format for %cirle%. “Faults” [5] => Limit number of Faults tags to be used in the filename format for %faults%. Double click to change the tags color.
“Blacklisted tags” => Tags to be blacklisted in the Main Tab/Batch Job. It will shown with grey background in Main Tab. It will be skipped in Batch Job. Separate each tag with new line. “Ignored Tags” => Tags to be ignored in the filename. Separate each tag with new line. “Use Regex” => Enable regular expression for filter Blacklisted/Ignored tags.
“Use Tags Auto Complete #” [200] => Enable Autocomplete in Tag searchbox in Main tab. Up to 200 tags will be retrieved. This is based on your tags.xml. “Empty Tag Repl.” [____] => For filename formatting, for example you use %artist% meta for filename format but the image doesn't have this information, then it will replaced based on this value.
file:included_tags.txt => If this file exists in the application folder, the tags defined in the file will be prioritized for filename. Separate each tags with new line. Regular expression is supported. Please note that it still depends on the filename format for ordering.
A. Getting tags.xml:
B. To search:
C. To download individual image
D. To do Batch Download
Q1: I cannot download from Danbooru (403 Forbidden)! A1: Please read http://danbooru.donmai.us/forum/show/72300. You need to supply login information in the DanbooruProvider.xml and set UseAuth to true.
Q2: I cannot download/can only download 1 image from 3DBooru! A2: On Settings tab, check Pad User Agent.
Q3: I cannot use space in batch download, the program always converting it to underscores! A3: Use '+' for space.
Q4: I got 503 error from Danbooru! A4: See A1. If still have the error, see this: http://danbooru.donmai.us/forum/show/24011.
Q5: I got 'ERROR_MESSAGE_HERE'! A5: Sent me a message in the comment with the details, such as:
Q6: I got a lot of skipped files when do batch download! A6: It is caused of the target filename is already exists. Add %md5% in your filename format.
Q7: How to login to Gelbooru/Sankaku/get cookie value? A7: Follow this step:
Q8: Downloading tags.xml from Sankaku is too slow, what I can do? A8: Sankaku doesn't allow to download the tags json/xml directly, so the application need to parse each individual tag pages, which over 16k pages. To avoid this, the application can reparse the tags again so it can get the actual tag type from the post page itself. To enable it:
Q8: Sankaku only download maximum 500 images/20 pages? Why the application doesn't download all images? etc. A8: You need to supply the login information, see Q7.
Currently only supporting Danbooru-type, Gelbooru-type with Danbooru API, and Shimmie2 with RSS enabled. For Sankaku-related board, using HTML parser.
Copyright (c) 2012, Nandaka All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.