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

Display InsecureRequestWarning only once per server #2762

Closed
tkzv opened this issue Jul 15, 2022 · 1 comment
Closed

Display InsecureRequestWarning only once per server #2762

tkzv opened this issue Jul 15, 2022 · 1 comment

Comments

@tkzv
Copy link

tkzv commented Jul 15, 2022

When I download a gallery anonymously using a dubious proxy, I sometimes get certificate errors. That's OK, if I'm not sending anything confidential, so I use --no-check-certificate switch. This way I get warnings for every file I download.

I don't want to disable those warnings completely, they may carry some information. But the way it is currently done, redundant warnings drown out the relevant ones.

Please, add a switch to display warnings only once per host, rather than for each file.

@mikf
Copy link
Owner

mikf commented Aug 3, 2022

Done in commit eb68d45.

It now only shows an InsecureRequestWarning once per domain, and you can configure this behavior with a global warnings option.

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

No branches or pull requests

2 participants