Nandaka / DanbooruDownloader

*booru image downloader
http://nandaka.devnull.zone/
390 stars 38 forks source link

Can't search at all from Danbooru (403) even with UserPass or Cookie #278

Open kamikaze00007 opened 1 year ago

kamikaze00007 commented 1 year ago

First, let me preface this by saying I can and have updated tags.xml using the Yandre thing and following the tutorial about the cookie logins and such. That one succeeds no issue.

Whenever I try downloading tags.xml via Danbooru however, I get issues like error 500, or when the program downloads tags.xml up to page 1000 it seems to keep on downloading past that (1001) and then fails because there's no page past that.

It won't merge all 1000 pages of tags.xml it dumped into my folder, and the merge tick box unticks itself when you click download for some reason. That's why I have to rely on Yandre tags.xml as per the guide says.

I've tried putting my User and Pass for Danbooru appropriately and setting it from Cookie to UserPass on the Edit menu for the site, but it doesn't save at all from the looks of it as it remains empty after clicking Save, exiting the program, and then opening it later on again.

Saving my login details on the DanbooruProviderList.xml manually also doesn't do anything, but it does save properly there.

Trying to search a single tag on the program results in a Forbidden 403 error for Danbooru. This is regardless of Cookie, or UserPass. I have an account. But I cannot even search at all using this program. How can I fix this at all?

Is this program still being worked on? Or can somebody please point me to a program that actually works for Danbooru so I can do my batch downloads. I don't even need fancy tagging. The default "automatic tags" that serve as the filename when I download images there via browser is just fine with me. I just want an easy batch downloader, but this is really getting complicated.

LetItGlow commented 1 year ago

I have this issue, too. Danbooru must have changed something subtle on their end, because all of the autorization methods do fail. If I copy the HTTP GETS from the Log into my browser (while still logged in), they work (inside the browser). I even tried using my API key (somehow), I tried copying cookies, none of that works, always getting 403's inside DDdownloader.

However, other sites (gelbooru, for example) seem to work fine, which is puzzling.

Edit: Gelbooru is wierd.

kamikaze00007 commented 1 year ago

I figured something was up. My Downloader folder has been filled with tags1~2~1001.xml and so on so I thought something was really up.

I wouldn't mind downloading from Gelbooru, but my entire wallpaper slideshow folder uses Danbooru's default file-naming convention (the auto tag-like name you get from the site itself when downloading a picture via browsers like Firefox). Gelbooru doesn't do that so it's a pain to type for every image. I hope this thing gets fixed or we can find a better alternative application. I s*ck at configuring those manually configured tag-naming downloaders.

KnightNight11111 commented 1 year ago

Issue still active, I know a lot of people use this downlader as its the most convenient and flexible. Hope the dev sees this and helps

jtran-developer commented 1 year ago

Has anyone been able to download tags.xml from danbooru?

SNamiris commented 1 year ago

Is Danbooru still unavailable for use now?

Jakhaxz commented 1 year ago

I tried to download from danbooru today and am getting the same issue, no matter if UserPass or Cookie is used.

I tried using Insomnia (REST Client) to send the same HTTP request as DanbooruDownloader and that works correctly, so I'm not sure what's happening that causes the 403 errors.

However I was able to get it to work, but I've yet to find out the reason why

I setup DanbooruDownloader using my cookie, by clicking edit on the Main tab and configuring it here. Then if you install and run Burp Suite, install the certificate, point DanbooruDownloader proxy settings to the Burp Suite proxy (127.0.0.1:8080 by default), It just starts working.

Again I have no Idea why this works, but if you're still having issues and don't mind a bit of a workaround feel free to try this.

TuJluGPaM commented 10 months ago

I tried to download from danbooru today and am getting the same issue, no matter if UserPass or Cookie is used.

I tried using Insomnia (REST Client) to send the same HTTP request as DanbooruDownloader and that works correctly, so I'm not sure what's happening that causes the 403 errors.

However I was able to get it to work, but I've yet to find out the reason why

I setup DanbooruDownloader using my cookie, by clicking edit on the Main tab and configuring it here. Then if you install and run Burp Suite, install the certificate, point DanbooruDownloader proxy settings to the Burp Suite proxy (127.0.0.1:8080 by default), It just starts working.

Again I have no Idea why this works, but if you're still having issues and don't mind a bit of a workaround feel free to try this.

i've tried your method, but now it says that it failed to establish trust relationship for SSL/TLS secure channel. I tried to add some other TLS protocols but it did not help at all