Tarun Chinmai Sekar added the comment:
I am writing a web scraper, that runs in a container that has CA-Certificates
stored in a non-standard location. The Ca-Certificates are managed by Certifi.
By allowing to override the sslcontext, it is possible for the user to
construct a sslcontext
Change by Tarun Chinmai Sekar :
--
pull_requests: +23746
pull_request: https://github.com/python/cpython/pull/24986
___
Python tracker
<https://bugs.python.org/issue43
Change by Tarun Chinmai Sekar :
--
keywords: +patch
pull_requests: +23744
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/24984
___
Python tracker
<https://bugs.python.org/issu
New submission from Tarun Chinmai Sekar :
IMO this could be enhanced by adding a sslcontext parameter to read method
a sample change would it could look like
```
def read(self, sslcontext=None):
"""Reads the robots.txt URL and feeds it to the parser."""
Change by Tarun Chinmai Sekar :
--
components: +Library (Lib)
___
Python tracker
<https://bugs.python.org/issue43597>
___
___
Python-bugs-list mailing list
Unsub
Change by Tarun Chinmai Sekar :
--
nosy: Tchinmai7
priority: normal
severity: normal
status: open
title: robotparser should support specifying SSL context
type: enhancement
versions: Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9