[issue43597] robotparser should support specifying SSL context

2021-04-06 Thread Tarun Chinmai Sekar
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

[issue43597] robotparser should support specifying SSL context

2021-03-22 Thread Tarun Chinmai Sekar
Change by Tarun Chinmai Sekar : -- pull_requests: +23746 pull_request: https://github.com/python/cpython/pull/24986 ___ Python tracker <https://bugs.python.org/issue43

[issue43597] robotparser should support specifying SSL context

2021-03-22 Thread Tarun Chinmai Sekar
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

[issue43597] robotparser should support specifying SSL context

2021-03-22 Thread Tarun Chinmai Sekar
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."""

[issue43597] robotparser should support specifying SSL context

2021-03-22 Thread Tarun Chinmai Sekar
Change by Tarun Chinmai Sekar : -- components: +Library (Lib) ___ Python tracker <https://bugs.python.org/issue43597> ___ ___ Python-bugs-list mailing list Unsub

[issue43597] robotparser should support specifying SSL context

2021-03-22 Thread Tarun Chinmai Sekar
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