Change Log:
- Fix %originalFilename% to remove duplicate extension.
- Update %originalFilename% to decode the URL entities (%xx thingies).
Download link for Danbooru Downloader 20120922, source code in GitHub.
small collection of my stuff!
Change Log:
Download link for Danbooru Downloader 20120922, source code in GitHub.
Comments are closed.
it can download over 1000 page …one tags (danbooru)?
ex: touhou
You can. It might take some time to load 1000 images if you use the Main tab, so I recommend you use the Full Batch Mode tab. In this mode, the images will be iterated one by one so it doesn’t tax the pc.
so.,,, in batch mode ..it will download all the images related to tags ?
depending on the limit you give or how many images is available in the server.
I get this exception when trying to download using the Main method:
************** Exception Text **************
System.UriFormatException: Invalid URI: The format of the URI could not be determined.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at DanbooruDownloader3.FormMain.DownloadRows(DataGridViewRow row)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.269 (RTMGDR.030319-2600)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
—————————————-
DanbooruDownloader3
Assembly Version: 3.2012.9.22
Win32 Version: 3.2012.09.22
CodeBase: file:///C:/Users/Administrator/Desktop/DDL/DanbooruDownloader20120922%20(sankaku)/DanbooruDownloader3.exe
—————————————-
log4net
Assembly Version: 1.2.11.0
Win32 Version: 1.2.11.0
CodeBase: file:///C:/Users/Administrator/Desktop/DDL/DanbooruDownloader20120922%20(sankaku)/log4net.DLL
—————————————-
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.278 built by: RTMGDR
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.282 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
—————————————-
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.269 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.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.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
—————————————-
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.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
—————————————-
12221zrt
Assembly Version: 3.2012.9.22
Win32 Version: 4.0.30319.269 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
—————————————-
************** JIT Debugging **************
give me the search tag/image id to test.
Tag: order:id
Rating: Explicit
http://chan.sankakucomplex.com/post/index.json?tags=order:id+rating:explicit&limit=100&page=1
Probably because the file url haven’t finished loading.
I have updated the source code to avoid this error by adding an url check, I’ll upload the binary in weekend 🙂
I’m still waiting…
sankaku isn’t working with batch download.
Thanks for the update.
I can confirm this. Both Sankaku Complex and (Idol) fail to download. Progress column in download list says “No file_url, probably deleted”. Occurs to ANY image file. Looks like the URL for downloads has changed over there. This also occurs with older version of DD3. Query and everything else seems to be working just fine. Preview images load still. It’s just the image file download locations have changed.
weird. Mine is ok, both download list and full batch mode. What is in the url column at Download List tab. Try to tick the pad user agent in Settings Tab. Upload the log file. Try to use proxy, maybe your isp got problem?
EDIT: I’m using the latest binary, forgot to upload. Busy, busy…
For Gelbooru, the given XML provider list originally used the query string:
> /index.php?page=dapi&s=post&q=index&%_query%
and I got a “missing root element” error when I tried to search for images.
However, when I changed it to:
> /index.php?page=dapi&s=post&q=index&%_query%
I found that everything worked properly afterwards, and this fixed the same issue with other Gelbooru-type boards as well. I’m not sure whether this is a mistake within the XML list or my system is processing the URL string differently, but just a heads-up.
Oh, I meant to use “& amp;” instead of just “&” for the first string, but it seems to have gotten converted when I submitted the last comment.
yeah, it should use
&
like this:/index.php?page=dapi&s=post&q=index&%_query%
. The original xml is using it.Wow, that was a quick fix!
Since it seems that you are not against suggestions, I’ll try making one. It would be nice to have a way to get a list of a _range_ of images, for instance “from page 5 to page 10” or even “from number 125 to 250” so that one could easily download batches of images at different times. I mean, if one wants to download a tag that has 3000 images, it’s not easy right now to get the full list (you have to keep scrolling), or to create partial lists to be downloaded in different days.
Or maybe there is already a way but I couldn’t figure it out, in that case just ignore me 🙂
That’s my 2 cents. As I said before, your app is already good as it is anyway 🙂
>> “from page 5 to page 10″
Use Full Batch Mode, set the Start Page to 5 and Limit = num of images in 1 page * 10
>> “from number 125 to 250″
Use Full Batch Mode, set the search tag to “id:125..250” and limit = 125 (from 250-125)
Is “Value cannot be null, Param name: source” error fixed?
Which one? Maybe you can create a new issue in GitHub with details and screen shot.
in the end http://nandaka.wordpress.com/2012/08/15/danbooru-downloader-20120815/
and this version cant skip deleted pic? http://i.imgur.com/5KI6X.jpg
can you give me the image id to test?
EDIT: source code updated.
yande id:224043 224087