danbooru downloader 20131019

Change Log:

  • Update cookie handling.
  • Update WebClient to enable compression.
  • Update WebClient to add Accept Language header.
  • Update UrlResolver to use Queue.
  • Fix Download Tag form.

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

Donation link on the sidebar, so I can buy this 😀

EDIT: Fix download link, please redownload.

45 thoughts on “danbooru downloader 20131019”

  1. sorry but when I save a picture with danbooru downloader how do I save them with all the related tags? I put only some and not all

          1. I’m sorry, but I could explain two things? how do I save the images with their tags in grabber? me because it saves them in a random order and in place of the tag there are letters and numbers

  2. Hi, I have noticed if I make any changes whatsoever to the naming system, add a tag, increase maximum filename length, anything, nothing downloads. It will start downloading, then just hang on the first file, and never download anything.

    I have noticed this behavior all the way back to version 20130223.

    Also, cancelling a batch job hung like this does nothing, you have to close the whole program.

    1. Weird, can you upload the log file (log-xxxxxxxxx.txt).

      Stopping the batch download will takes time, as it will try to finish the currently downloaded image and then stop.

      It is working in my pc, though.

      1. Hi, I forgot I could sometimes modify the names slightly, like removing a tag. I tried to recreate the problem with no log so it would only contain relevant data to the problem, and I think I found the problem. Running the program from your user profile will sometimes produce file names which are too long because of the path it has to use, if you are downloading from a provider that uses lots of tags.

        Running the program from your root directory in C: seems to help this.

  3. Nandaka, sorry for wasting your time, but could you change tag colours in app to standard danbooru colors? It little more habitual 😉

    circle=FF6300(255,99,0) — just a little brighter (G=99, instead 69)

    example: http://i.imgur.com/I4kjXiF.png

    Thank you~

  4. when try to download this message appear
    “Unhandled exception has occured in your application …..”
    with details :
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** 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, DanbooruTagCollection tagCollection)
    at DanbooruDownloader3.DAO.DanbooruTagsDao.ParseTagsString(String tagsStr, DanbooruTagCollection tagCollection)
    at DanbooruDownloader3.Helper.ParseTags(String p, DanbooruProvider provider)
    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.OnDoWork(DoWorkEventArgs e)
    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

    ************** Loaded Assemblies **************
    Assembly Version:
    Win32 Version: 4.0.30319.18052 built by: FX45RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    Assembly Version: 3.2013.10.19
    Win32 Version: 3.2013.10.19
    CodeBase: file:///C:/Users/Toma/Downloads/DDLer/DanbooruDownloader3.exe
    Assembly Version:
    Win32 Version:
    CodeBase: file:///C:/Users/Toma/Downloads/DDLer/log4net.DLL
    Assembly Version:
    Win32 Version: 4.0.30319.18036 built by: FX45RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    Assembly Version:
    Win32 Version: 4.0.30319.18021 built by: FX45RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    Assembly Version:
    Win32 Version: 4.0.30319.18021 built by: FX45RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    Assembly Version:
    Win32 Version: 4.0.30319.18060 built by: FX45RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    Assembly Version:
    Win32 Version: 4.0.30319.18060 built by: FX45RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    Assembly Version:
    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
    Assembly Version:
    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    Assembly Version:
    Win32 Version: 4.0.30319.18060 built by: FX45RTMGDR
    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

    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. Do you have tags.xml in the application folder? Try to update the tags.xml from Settings tab, I recommend you to use yande.re as the tag provider.
      Upload log-xxxxx.txt to pastebin and give step to replicate.

          1. OK~
            anyway is it possible to merge the tags?
            somehow similar error appear again when i try to merge konachan tags with danbooru tags

          2. What is the error message? possible to upload the log file? Most likely you got network error.
            Tried to merge danbooru tags (existing) with konachan (from download form), it will take some time but it is completed just fine.

          3. it’s a similar error like above error “Unhandled exception has occured in your application …..”
            also, why i can’t download any pic from danbooru?

          4. Can you delete the tags.xml and redownload it again from yande.re?
            For Danbooru, have you enter you login information (use the edit button and set use Auth to true)

        1. Looks like everything is ok, tried to replicate based on log file, and everything is OK.
          Can you give a more detailed explanation and steps to recreate the error?

          Also: Enable Loop when u download tags from Danbooru.

  5. Hello to DD3 creator.

    Have a little problem — 429 error appears when I try download tags from Sankaku. Only ~200 pages loaded and then boom! 429 Too many requests. Can you add retry ability in Download Tags form?

    And logs. I have nothing against logs, but would be better if they collect not in parent folder. Subfolder logs would cope with this better 🙂 and if unchecked “Enable Logging” it would be nice just do not create .txt files.

    Thank you for application, support and wasting time to read this.

  6. Hi,

    Thanks for the updates.

    I noticed that flash files can’t be downloaded (at least from sankaku). I get the following message when trying:

    No file_url, probably deleted

Comments are closed.