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

A way to ignore SSL certificates #649

Open
Ronkiro opened this issue Oct 7, 2024 · 0 comments
Open

A way to ignore SSL certificates #649

Ronkiro opened this issue Oct 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Ronkiro
Copy link

Ronkiro commented Oct 7, 2024

Hello, i'll not use the template as it's simple af lol

Basically when running my bot i could see some SSL checks' failures

i.e.:

newspaper.article.ArticleException: Article `download()` failed with HTTPSConnectionPool(host='www.defesa.agricultura.sp.gov.br', port=443): Max retries exceeded with url: /uri/20241006/racing-x-talleres (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)'))) on URL https://www.defesa.agricultura.sp.gov.br/uri/20241006/racing-x-talleres

it would be nice to have something like requests' verify=False to ignore SSL checks

@Ronkiro Ronkiro added the enhancement New feature or request label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant