danbooru downloader 20151203

Change Log for DanbooruDownloader20151203

  • Fix Issue #64: Add warning when file exists.
  • Implement Feature #67: Option to replace underscore in Tag to space.
  • Add Context Menu to open downloaded files.
  • Set max width for data grid column to 300px.
  • Add cookie login method for Gelbooru.
  • Deprecate the UseAuth, replace with LoginType.

Q7: How to get cookie value?
A7: Follow this step:

  1. Press F12 on your Chrome browser and select Network tab.
  2. Go to the booru site and login.
  3. Click one of the entry and copy the Cookie value from the Request Header. See: http://imgur.com/M6BZeBQ
    For gelbooru, it should like this: user_id=<number>; pass_hash=<long string>
  4. Paste the Cookie value to the Username field. See: http://imgur.com/rCCjnPs

Download link for danbooru downloader 20151203, source code in GitHub.

Donation Link on the side bar ==> 😀

 

EDIT: please re-download, updated some logic

20 thoughts on “danbooru downloader 20151203”

  1. When I try to download from rule34.xxx the pics I get are files with format !TMP with 0 bytes.

  2. First things first – thank you for a wonderful program! But the program has ceased to download images from rule34.xxx. It finds images on the tag, but when I try to download them in “Full Batch Mode”, it displays in “Log” something like that:
    [DoBatchJob] Processing Batch Job#0
    [DoBatchJob] Downloading list: http://rule34.xxx/index.php?page=dapi&s=post&q=index&tags=cyberunique&limit=5
    [DoBatchJob] Download: http://rule34.xxx//img.rule34.xxx/images/1779/70e9da426fa2f2d3901fcf9bb0be225a.jpg
    [DoBatchJob] Error Download Batch Image (0 of 5): Удаленный сервер возвратил ошибку: (404) Не найден. Wait for 10s.
    [DoBatchJob] Retrying…

    If I make a search on some tag, and then copy and paste link from field “URL” to any browser, it also will return a page from rule34 with 404 error.

    Can you help with this problem? Just 2 weeks ago, the program regularly downloaded images =(
    P.S. Sorry for bad english, Google Translate responsible for it ^_^

  3. Hey, long time user first time poster.

    I was using your app since December 3 2015, it’s January 2016 now and I decide to download a new batch of file I left off last year. But when I try to download, the URL path when I ‘get’ a tag from rule34.xxx is http://rule34.xxx//img.rule34.xxx/images/1783/d2aa7df341426cb11e759165b354128dbf0d9472.jpg which is wrong, it should be img.rule34.xxx/images/1783/d2aa7df341426cb11e759165b354128dbf0d9472.jpg by my guess. My complaint is that when I attempt to download the images the file format is always !TMP with 0 bytes. I’m guessing that the application couldn’t read the URL right but still attempt to download it or something. I’m not a coder so I don’t know how to resolved this, this just happened right now and this is the first time I used your app since December.

    Hope you read this. I’m a big fan of your work. Keep up the excellent work!!!

  4. Not sure if this is the right place to leave a feature request, but the ability to check existing/downloaded files and delete them would be amazing.

    By this I mean, if a file meets a condition that causes it not to be downloaded, the directory that it would have been downloaded to is checked to see if a file by the name it would have taken exists, and removes it if so. Good for keeping folders up to date after changing banned tags, as posts are updated/removed from various pools or tags, etc. etc.

    1. Just realized that’d include checking for files that weren’t seen as well as ones with banned tags and such. I guess I’m thinking more of a “synchronize” option.

  5. I am not sure what I am doing wrong, but I keep getting this on 2 different computers. It is probably something stupid that I have set wrong. All I am trying to do is go into the provider and add the cookie.

    2015-12-29 21:09:55,086 INFO – Logging Enabled
    2015-12-29 21:09:55,832 INFO – Starting up Danbooru Downloader 3.2015.12.03
    2015-12-29 21:09:55,836 DEBUG – Loading provider list.
    2015-12-29 21:09:55,863 DEBUG – Provider list loaded.
    2015-12-29 21:09:55,874 DEBUG – Danbooru Downloader 3.2015.12.03 loaded.
    2015-12-29 21:10:05,535 ERROR – Input string was not in a correct format.
    System.FormatException: Input string was not in a correct format.
    at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
    at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
    at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
    at DanbooruDownloader3.FormProvider.GetValues(Int32 index)
    2015-12-29 21:10:05,543 ERROR – Input string was not in a correct format.
    System.FormatException: Input string was not in a correct format.
    at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
    at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
    at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
    at DanbooruDownloader3.FormProvider.GetValues(Int32 index)
    2015-12-29 21:10:05,546 ERROR – Invalid cast from ‘System.String’ to ‘DanbooruDownloader3.Entity.DanbooruTagCollection’.
    System.InvalidCastException: Invalid cast from ‘System.String’ to ‘DanbooruDownloader3.Entity.DanbooruTagCollection’.
    at System.Convert.DefaultToType(IConvertible value, Type targetType, IFormatProvider provider)
    at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
    at DanbooruDownloader3.FormProvider.GetValues(Int32 index)

  6. ok now it work i update my tags.xml and now it wokrs but in fullbatch mode it doesnt work but the normal download on the main page worke thanks 😀

  7. i want to download sone from rule43.xxx but the downloader doesnt download any pc but if i look on the page with the tag there are pictures
    (sorry for my bad english ^^ )

          1. Hmm, weird, I can download just fine.

            What is the provider settings? Select rule34.xxx and press Edit button, it should show like this: http://imgur.com/YLxDVoc

            Also try to do search without tag (just select the provider and press Get button). If still not working, try to upload the log file (e.g. log-2015-12-24.txt) to pastebin

  8. yeah it’s working now, your program seems a little slower than before but maybe it’s the gelbooru API fault. Always the best program in my opinion.

Comments are closed.