Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sankakucomplex authorization does not work #35

Open
IGeorj opened this issue Jun 23, 2021 · 1 comment
Open

Sankakucomplex authorization does not work #35

IGeorj opened this issue Jun 23, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@IGeorj
Copy link

IGeorj commented Jun 23, 2021

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

@Xwilarg
Copy link
Owner

Xwilarg commented Jun 23, 2021

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 Xwilarg added the bug Something isn't working label Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants