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

Using a Danbooru account to download restricted posts #151

Closed
arisboch opened this issue Jan 7, 2019 · 3 comments
Closed

Using a Danbooru account to download restricted posts #151

arisboch opened this issue Jan 7, 2019 · 3 comments

Comments

@arisboch
Copy link

arisboch commented Jan 7, 2019

Is there an option to use one's Danbooru username and API key to download posts you need a (gold) account for to view? If not,could you add this kinda feature?

@mikf
Copy link
Owner

mikf commented Jan 7, 2019

According to the Authentication section in https://danbooru.donmai.us/wiki_pages/43568 this can be done with your browser's (session) cookies, so it should be enough to put your danbooru cookies in your config file somewhat like here.

I will also implement proper support for username and API key, but the cookie method should already work.

@arisboch
Copy link
Author

arisboch commented Jan 7, 2019

According to the Authentication section in https://danbooru.donmai.us/wiki_pages/43568 this can be done with your browser's (session) cookies, so it should be enough to put your dnanbooru cookies in your config file somewhat like here.

I will also implement proper support for username and API key, but the cookie method should already work.

Thanks in advance for the implementation and thanks for the advice, I exported the cookie from the browser and used the '--cookie' argument and it worked without problem.

@mikf mikf closed this as completed in 1e4d351 Jan 9, 2019
@arisboch
Copy link
Author

arisboch commented Jan 9, 2019

It works, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants