danbooru downloader 20131127

Change Log:

  • Add starting page for download by tags.
  • Update Logging logic.
  • Add option to hide image containing Blacklisted tag.
  • Update Sankaku Tag download.
  • Fix tag download for danbooru (20131127).

Download link for danbooru downloader 20131127, source code in github.

Donation link on the sidebar, I still want this 😀

EDIT: Updated to 20131127, and bonus for danbooru’s tags.xml

29 thoughts on “danbooru downloader 20131127”

  1. Try downloading lolibooru.com tags through the program and It says:

    “Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

    was not expected.”

    Then the details are:

    “See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.InvalidOperationException: was not expected.
    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderDanbooruTagCollection.Read5_tags()

    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18331 built by: FX45GDRSTAGE
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
    —————————————-
    DanbooruDownloader3
    Assembly Version: 3.2013.11.27
    Win32 Version: 3.2013.11.27
    CodeBase: file:///…/Documents/BooruDownloader/DanbooruDownloader3.exe
    —————————————-
    System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18331 built by: FX45GDRSTAGE
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    —————————————-
    System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18331 built by: FX45GDRSTAGE
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    —————————————-
    System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18331 built by: FX45GDRSTAGE
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    —————————————-
    log4net
    Assembly Version: 1.2.11.0
    Win32 Version: 1.2.11.0
    CodeBase: file:///…/Documents/BooruDownloader/log4net.DLL
    —————————————-
    System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18331 built by: FX45GDRSTAGE
    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.18331 built by: FX45GDRSTAGE
    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.17929 built by: FX45RTMREL
    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.18331 built by: FX45GDRSTAGE
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    —————————————-
    Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.18331 built by: FX45GDRSTAGE
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.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.”

    What do? lol

    1. Looks like the file they returned for the tags query is invalid (I think its landing page). Can you open the url in browser? I’m expecting xml file (you can compare with yande.re)

      1. yande.re worked fine. I opened the xml url in the browser and it did take me to the xml sheet of all of the tags.

        lolibooru’s redirected me to the landing page. :

  2. Hi, I’ve been trying for a while now to add Derpybooru to the program, but I can’t seem to get it to work.
    At the moment it is saved as a Danbooru board with Json as the preferred option using the string /search.json?%_query% But it only return that there is no posts. Any hints to what is wrong?

    1. You need to make sure they enable the danbooru API to begin with. You can check by visiting the url generated in the logging tab.

  3. I’d like to build the sources from github using Mono/SharpDevelop, as mentioned, so I can run DD3 on linux – however I’m clueless about where to begin and it seems like a task for someone who is familiar with programming and the mono environment I read somewhere that applications built with Mono work in cross platform, only with less features. With that in mind, couldn’t you simply build DD3 with mono and make it cross-platform to begin with?

    regardless, thanks for your hard work – great program

  4. I’d like to build the sources from github using Mono/SharpDevelop, as mentioned, so I can run DD3 on linux – however I’m clueless about where to begin and it seems like a task for someone who is familiar with programming and the mono environment. I read somewhere that applications built with Mono work in cross platform as Mono includes less features than latest .NET framework. With that in mind, couldn’t you simply build DD3 with mono and make it crossplatform to begin with?

    regardless, thanks for your hard work – great program

  5. Great program.
    I just can’t figure out how to use the “Full Batch Mode”. I guess I have to put the tags in a special format or so (not just the “normal” tags from danbooru like “black_panties”).

    1. Should be the same:
      1. Click Add Batch Job
      2. key in your tags like usual
      3. Give the limit or starting page or rating (optional)
      4. Tick the danbooru boards
      5. Press OK.
      6. Press Start Batch Job to download.

      1. This is exactly what I did but when I start the batch download it just says “Batch job Completed”, without downloading anything. Here is the Log:
        [DoBatchJob] Processing Batch Job#0
        [DoBatchJob] Downloading list: http://danbooru.donmai.us/post/index.xml?tags=black_panties&limit=0&page=1
        [DoBatchJob] No more image.
        [DoBatchJob] Batch Job #0: Done

        I have the .NET Framework 4 and the MS Visual C++ 2005, 2008 and 2010 (just in case I need to download a special libary or something like that).

          1. I guess I fucked up some settings. I extracted it again and now it’s working.
            Now I can work properly 😀

  6. Anytime I try to use this for wildcritters.ws, I get an error that the index must not be negative and must be smaller than the collection. I’ve downloaded the site’s tags.xml, and I don’t have a clue what this means. This is using the danbooru setup and board type but just changing the address.

Comments are closed.