danbooru downloader 20130223

Change Log:

  • Fix save/load download list.
  • Add save/load batch job list.

Download link forΒ danbooru downloader 20130223, source code in GitHub.

Note:

  • Danbooru website just updated to version 2, so some feature might broken (e.g.: tags update). Please give detailed information if you encounter any error and upload the log file to pastebin. It is recommended to create an issue in GitHub issue tracker.
  • For danbooru, you need to add login information. Select danbooru as the provider, then click edit, add your username and password, set useAuth = true, then click save and ok button.
  • At lease, any donation is appreciated πŸ˜€ => => =>

53 thoughts on “danbooru downloader 20130223”

          1. Most likely I will do similar like in the pixiv downloader (1 image = 1 text file; same file name, different extensions).

  1. Is there a way for me to search only for images who have no source on Danbooru?

    1. Sankaku Complex owner contacted me and block the application, you can ask him in the forum to reopen the access.

        1. If you can open the page using browser, then changing the Wser Agent to match your browser might allow you to open to use the Main Tab.

    1. 1st, read the readme.txt.
      2nd, run the application. If it asking for tags.xml, press ok and use yande.re as the source. Press download and wait until it finished.
      3rd, type the tags you want to search at the Tag box and press Get. If you are using danbooru, enter your login information by clicking Edit button and press Save when done.
      4th, select the images you want to download and press Add button. It will transfer the images to Download List tab. Just press download to start.

      1. um,,,

        log4net requirement..?
        can you give me that item..? πŸ™

        ************** Exception Text **************
        System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.
        at System.Xml.XmlTextReaderImpl.Throw(Exception e)
        at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
        at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
        at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
        at System.Xml.XmlTextReaderImpl.Read()
        at System.Xml.XmlTextReader.Read()
        at DanbooruDownloader3.DAO.DanbooruPostDao.ProcessXML(XmlTextReader reader) in D:DropboxDanbooruDownloader3DanbooruDownloader3DanbooruDownloader3DAODanbooruPostDao.cs:line 153
        at DanbooruDownloader3.DAO.DanbooruPostDao.ReadXML(Stream input) in D:DropboxDanbooruDownloader3DanbooruDownloader3DanbooruDownloader3DAODanbooruPostDao.cs:line 118
        at DanbooruDownloader3.DAO.DanbooruPostDao..ctor(Stream input, DanbooruProvider provider, String query, String searchTags, String referer, Boolean isXMl, List`1 BlacklistedTag) in D:DropboxDanbooruDownloader3DanbooruDownloader3DanbooruDownloader3DAODanbooruPostDao.cs:line 53
        at DanbooruDownloader3.FormMain.clientList_DownloadDataCompleted(Object sender, DownloadDataCompletedEventArgs e) in D:DropboxDanbooruDownloader3DanbooruDownloader3DanbooruDownloader3FormMain.WebClientEvents.cs:line 49
        at System.Net.WebClient.OnDownloadDataCompleted(DownloadDataCompletedEventArgs e)
        at System.Net.WebClient.DownloadDataOperationCompleted(Object arg)

        ************** Loaded Assemblies **************
        mscorlib
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
        CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
        —————————————-
        DanbooruDownloader3
        Assembly Version: 3.2012.5.19
        Win32 Version: 3.2012.05.19
        CodeBase: file:///C:/Documents%20and%20Settings/Bonny%20Big/Desktop/New%20Folder%20(2)/DanbooruDownloader3.exe
        —————————————-
        log4net
        Assembly Version: 1.2.11.0
        Win32 Version: 1.2.11.0
        CodeBase: file:///C:/Documents%20and%20Settings/Bonny%20Big/Desktop/New%20Folder%20(2)/log4net.DLL
        —————————————-
        System.Windows.Forms
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1 built by: RTMRel
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
        —————————————-
        System
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1 built by: RTMRel
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
        —————————————-
        System.Drawing
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1 built by: RTMRel
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
        —————————————-
        System.Configuration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
        —————————————-
        System.Xml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1 built by: RTMRel
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
        —————————————-
        Accessibility
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1 built by: RTMRel
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
        —————————————-
        System.Core
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.1 built by: RTMRel
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
        —————————————-

        ************** JIT Debugging **************
        To enable just-in-time (JIT) debugging, the .config file for this
        application or computer (machine.config) must have the
        jitDebugging value set in the system.windows.forms section.
        The application must also be compiled with debugging
        enabled.

        For example:

        When JIT debugging is enabled, any unhandled exception
        will be sent to the JIT debugger registered on the computer
        rather than be handled by this dialog box.

      1. Cool, thank you.
        Is there also a way to automatically load all pages? I have to scroll down each time in the search results for the next page to load right now…

  2. Hi nandaka, the danbooru downloader isn’t able to download from Sankaku Complex again. When I do a search for anything, it comes back with a popup saying “Server Message:”, and an “OK” box.

    1. sankaku complex actively block the application, Artefact asking me to stop the downloader because of someone misused it and causing heavy cpu usage on their server. No updates for now.

  3. Is there a way to search by artist tag? That’s what I usually do in danbooru sites…

  4. First time user, when I try to download tags at the initial setup, I get the (401) Unauthorized error. UseAuth set to true and login info already provided

    1. which provider are you use? some doesn’t allow you to download the tags list. I suggest you to use yande.re as the tags source.

      1. Used danbooru as the tag source. yande.re seems to have worked fine, thank you.

  5. Getting this error while trying to search danbooru:

    at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
    at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    at DanbooruDownloader3.DAO.DanbooruPostDao.ProcessXML(String rawData)
    at DanbooruDownloader3.DAO.DanbooruPostDao..ctor(Stream input, DanbooruPostDaoOption option)
    at DanbooruDownloader3.FormMain.clientList_DownloadDataCompleted(Object sender, DownloadDataCompletedEventArgs e)

    I’ve already tried to update the tags.xml for danbooru but that gives me an 401 error that says I’ve got no access.

    1. Ah well, nevermind. I just tried it with login information and it works now. Weird, never had to use my login before. Anyway, thanks for this awesome tool.

  6. Is it possible to add a %general% tags for Yande.re? they’ll really come in handy when searching for certain tags/fetishes ex: thighhighs, swimsuits, nekomimi… etc yande.re/tag?name=&type=0

  7. Just started with this program, unlike Pixiv downloader where I just put the ID of the artist, I have basically no idea of what to do with this one. Keep getting “No posts” messages so I’m sure I’m doing it wrong. Any useful link where it was explained?

    1. For danbooru, you might need to supply the login information (select danbooru as the provider and click edit button, key in you login information and set UseAuth to True) or you can try on Yande.re first.

      Just key in the search tags in tags textbox (you can left it empty) and click Get button, it should populate the data grid view.

  8. I’ve made a list of just 40 pics from Sankaku Channel but more than half of them got the “too many requests” error and forced me to use the “resolve file url” option to have a list that could be downloaded from start to end with no hiccups. It happens often and is quite inconvenient, it forces to check file-for-file to be sure they’ll be all downloaded. This happens because the Sankaku server is hammered too much. Are there some settings to make it not happen, or should the program be updated?

      1. Good idea, thanks πŸ™‚ I have also a little suggestion: an additional command for the download tab, to remove only completed pics rather than a full clearing of the list. This way it would be easier to find pics that encountered errors.

  9. Hello!

    I recently found this program and just now had time to test it. However, when I try to do a search, all I get is a error with this info:

    ************** Exception Text **************
    System.ArgumentNullException: Value cannot be null.
    Parameter name: source
    at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
    at DanbooruDownloader3.DAO.DanbooruTagsDao.GetTag(String tag)
    at DanbooruDownloader3.DAO.DanbooruTagsDao.ParseTagsString(String tagsStr)
    at DanbooruDownloader3.DAO.DanbooruPostDao.ProcessXML(String rawData)
    at DanbooruDownloader3.DAO.DanbooruPostDao..ctor(Stream input, DanbooruPostDaoOption option)
    at DanbooruDownloader3.FormMain.backgroundWorker1_DoWork(Object sender, DoWorkEventArgs e)
    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

    Any suggestions? Tried using the mainsearch and full batch mode, both have this problem.

  10. Hi. Can anyone compile this with Mono? I need it for my ubuntu installation.
    Thanks in advance.

  11. Am getting 403 forbidden when trying to download the tags file from sankaku any suggestions?

      1. I still get it through my browser also. so any other suggestions would nice?

      2. Would it be possible to manually create my own xml using the /tag page? Or is there specific information in their xml that’s required?

  12. Whenever I try to download, the file format only uses %originalFilename%, even if there are more tags added, does it has to have a separator between tags? I’ve been using “%originalFilename%%artist%%copyright%%character%%rating%” for file format.

    1. Enable colored tags from settings tab and see if there is any tag with color. If not, try to update your tags.xml. Note: danbooru tags update still broken from the server (only return 20 tag).

      For %rating%, it is depend on server information.

Comments are closed.