Greetings,
I wrote a Script for myself to download Pictures from here in Python, it uses Beautifulsoup and urllib.
it roughly works like this:
page = requests.get(url, headers=header)
for link in soup.find_all(\"a\", href=True):
image.append(link.get('href'))
for every picture on the page do:
page2 = requests.get(image_done, headers=header)
urllib.request.urlretrieve(image,path)
In summary if a page has 10 pictures I have 21 Requests(1 to get every href on the page,10 to get every imageadress and 10 to download the image) per Page.
Since I have no intention of harming the service I would like to know if its ok using my Script to download a good amount of pictures from here?
I know that bandwith costs money and I would not mind to donate once in a while, so I would like to know if Danbooru has a Bitcoin wallet address? I am aware that you can donate with simply upgrading your Account, however debit/credit card are out of question.
BTW: I would not mind sharing the Sourcecode here, but I doubt someone would be really interested in it since there are already lots of solutions.
Even if it pretty late: I did change the script and started using the api which makes it way more easier anyway.
Updated