Danbooru

Batch download a tag set

Posted under General

Updated my downloader (the one at http://pastebin.com/jgxMRTRH ). Now it supports Gelbooru, and due to both sites using md5 hashes for the filenames it is possible to download in the same directory and duplicates will automatically filter out due to filename collision. No pool support due to lack of respective API (and generally bad pools), though.

Updated

Aaaaand an update. Or rather two, but the previous one went unannounced because it didn't concern Danbooru. Now you can download from Pixiv, set subdirectory and individual file naming scheme (including getting the artist name from Danbooru and putting MD5 hash as the filename and thus being able to download into the same folder as Dan- and Gelbooru and identical files automatically getting excluded), modify blacklist without editing the code and so on.

Dariush said:

Updated my downloader (the one at http://pastebin.com/jgxMRTRH ). Now it supports Gelbooru, and due to both sites using md5 hashes for the filenames it is possible to download in the same directory and duplicates will automatically filter out due to filename collision. No pool support due to lack of respective API (and generally bad pools), though.

Sorry but for someone like me, who is not that good with Codes and things like that
can you gave me the steps of how to use that

Sorry for this thread being bumped yet again, just wanted to somehow give it a proper end as there's still a bit of uncertainty about the proper use of the script (which works and is fantastic, thank you so much).
So:
1. Go here and download the script http://pastebin.com/jgxMRTRH there is a download button, no science involved.

2. Go there http://strawberryperl.com and download the last version of the program. For instance, in my case (on current date) is:
Straberry Perl 5.20.2.1 (64bit)
(If you have a 32 bit windows, use the 32 bit version)

3.Install StraberryPerl, be careful that you install it on a folder which has no spaces or no ascii symbols on the path. If you are having problems just install it on C:\Perl (you may need admin permission)

3. Go to the folder you want to download the images in and copy there the script you just downloaded, you may want to rename it to make it easier to use, I'll call it booru.pl for convenience.

4.Now execute the shell of windows, which is the cmd.exe program, if you have doubts how to open it search somwhere else, it's easy.

5.On the shell go to where the booru.pl is, for instance i have it on "C:\User\Pepe\Images" so i should write:
"cd C:\User\Pepe\Images"
If you want to save your images on other hard disk or partition as D:\, just type:
"d:\"
"cd D:\User\Pepe\Images" or whathever path is yours.

6.Now to execute the comand:
"perl booru.pl -u your_username -p your_pass -t tag_to_download"

^That is the short version, there are actually more ways of download as changing the source (danbooru, gelbooru, pixiv, etc...), the amount, tags on black list, etc.... For all those comodities please read the help of the script, you can read it if you write on the shell:
"booru.pl"

And I hope this brings a definitive close to the thread and hope it helped some of you.
P.D. Truly sorry if my english is bad, bear with me :P

I see that the MAX number of images for a TAG to be downloaded are 200 - 180 in the script. What if there are like 1000 images fro ma tag i wanna download? how to tel lthe script, pull another 180 but start where u ended ? Thanks!

1 5 6 7 8 9