Closed mishona closed 4 years ago
I can reproduce the error in Grabber 7.21 I tested with password, then with api key as password, none work. I tried to use cookies too, don't seems to change anything. Documentation says it could work, but it does not : https://danbooru.donmai.us/wiki_pages/help:api
Using trought url I got not even an image :
[15:14:50.957][Info] [danbooru.donmai.us][Html] Loading page `https://danbooru.donmai.us/posts?limit=50&page=1&tags=&login=ero103@live.jp&password_hash=3a5cfab40ec65c835652d7dbe4d628fbecf8bd61`
[15:14:50.957][Info] [danbooru.donmai.us][Xml] Loading page `https://danbooru.donmai.us/posts.xml?limit=50&page=1&tags=&login=ero103@live.jp&password_hash=3a5cfab40ec65c835652d7dbe4d628fbecf8bd61`
[15:14:51.391][Info] [danbooru.donmai.us][Html] Receiving page `https://danbooru.donmai.us/posts?limit=50&page=1&tags=&login=ero103@live.jp&password_hash=3a5cfab40ec65c835652d7dbe4d628fbecf8bd61`
[15:14:51.393][Info] [danbooru.donmai.us][Html] Parsed page `https://danbooru.donmai.us/posts?limit=50&page=1&tags=&login=ero103@live.jp&password_hash=3a5cfab40ec65c835652d7dbe4d628fbecf8bd61`: 0 images (0), 0 tags (0), -1 total (-1), -1 pages (-1)
[15:14:51.485][Info] [danbooru.donmai.us][Xml] Receiving page `https://danbooru.donmai.us/posts.xml?limit=50&page=1&tags=&login=ero103@live.jp&password_hash=3a5cfab40ec65c835652d7dbe4d628fbecf8bd61`
[15:14:51.485][Warning] [danbooru.donmai.us][Xml] SessionLoader::AuthenticationFailure
[15:14:51.486][Warning] [danbooru.donmai.us] Loading using Xml failed. Retry using Json.
[15:14:51.486][Info] [danbooru.donmai.us][Json] Loading page `https://danbooru.donmai.us/posts.json?limit=50&page=1&tags=&login=ero103@live.jp&password_hash=3a5cfab40ec65c835652d7dbe4d628fbecf8bd61`
[15:14:51.642][Info] [danbooru.donmai.us][Json] Receiving page `https://danbooru.donmai.us/posts.json?limit=50&page=1&tags=&login=ero103@live.jp&password_hash=3a5cfab40ec65c835652d7dbe4d628fbecf8bd61`
[15:14:51.642][Warning] [danbooru.donmai.us][Json] SessionLoader::AuthenticationFailure
[15:14:51.643][Warning] [danbooru.donmai.us] Loading using Json failed. Retry using Html.
[15:14:51.643][Info] [danbooru.donmai.us][Html] Loading page `https://danbooru.donmai.us/posts?limit=50&page=1&tags=&login=ero103@live.jp&password_hash=3a5cfab40ec65c835652d7dbe4d628fbecf8bd61`
[15:14:51.793][Info] [danbooru.donmai.us][Html] Receiving page `https://danbooru.donmai.us/posts?limit=50&page=1&tags=&login=ero103@live.jp&password_hash=3a5cfab40ec65c835652d7dbe4d628fbecf8bd61`
[15:14:51.795][Info] [danbooru.donmai.us][Html] Parsed page `https://danbooru.donmai.us/posts?limit=50&page=1&tags=&login=ero103@live.jp&password_hash=3a5cfab40ec65c835652d7dbe4d628fbecf8bd61`: 0 images (0), 0 tags (0), -1 total (-1), -1 pages (-1)
Using "post" it does not even use the login to get page or download, but danbooru work fine.
Same here. This is problematic. Since I can't login, I can't download from my favorites list which is private. I have to make the list public for the time of the download. Additionally searching searching with more than two tags is now impossible because that requires login with a paid account which I have but now I can't use it with Grabber. :(
Hello, have you tried switching to the "POST" login method for Danbooru if passing the credentials through the URL doesn't work?
The "type" can be changed here:
Hi. Yes, I've tried that. Sadly inputting password/api key while changing to POST doesn't change anything. The test ends in failure and searching things that require account privileges fails. With >2 tags I'm getting too many tags and with private favorite I get no results so I'm clearly not logged in.
If you switch to POST, you still have to put your password, not your API key.
The "POST" login method is the same as opening https://danbooru.donmai.us/login and putting your information there.
Bug description Cannot login to Danbooru. Possibly other sites.
Steps to reproduce
Logging in and being able to search more than 2 tags at once.
System information
main.log settings.txt
Additional context
Logging in was functional in previous versions.