BooruSharp icon indicating copy to clipboard operation
BooruSharp copied to clipboard

Sankakucomplex authorization does not work

Open IGeorj opened this issue 3 years ago • 1 comments

Trying to get a post with more than 5 tags...

            var booru = new BooruSharp.Booru.SankakuComplex();
            booru.Auth = new BooruSharp.Booru.BooruAuth("login", "pwHash");

            var post = await booru.GetRandomPostAsync(tags).ConfigureAwait(false);

And getting this error:

2

Login and password are taken from here:

1

IGeorj avatar Jun 23 '21 16:06 IGeorj

Thanks for the bug report, I'm currently only using authentification for favorite requests and since Sankaku require authentification for more than 4 tags on post requests, it crashes. I'll fix that, update a new version and post another message here when it'll be fixed

Xwilarg avatar Jun 23 '21 17:06 Xwilarg