From 447b68e924432c4ddbd4c67b159b4acc4efd22be Mon Sep 17 00:00:00 2001 From: Abhinav Singh Date: Fri, 16 Aug 2024 09:05:34 +0530 Subject: [PATCH] Add `pip` and `Selenium Base` to projects using `proxy.py` --- README.md | 22 ++++++++++++---------- proxy/http/client.py | 4 ++-- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index a26736d382..9b34e14a6e 100644 --- a/README.md +++ b/README.md @@ -2497,16 +2497,18 @@ for list of tests. # Projects Using Proxy.Py -Some of the projects using `proxy.py` - -1. [ray-project](https://github.com/ray-project/ray) -2. [aio-libs](https://github.com/aio-libs/aiohttp) -3. [wifipumpkin3](https://github.com/P0cL4bs/wifipumpkin3) -4. [MerossIot](https://github.com/albertogeniola/MerossIot) -5. [pyshorteners](https://github.com/ellisonleao/pyshorteners) -6. [Slack API](https://github.com/slackapi/python-slack-events-api) -7. [ibeam](https://github.com/Voyz/ibeam) -8. [PyPaperBot](https://github.com/ferru97/PyPaperBot) +Some popular projects using `proxy.py` + +- [pip](https://github.com/pypa/pip) +- [ray-project](https://github.com/ray-project/ray) +- [aio-libs](https://github.com/aio-libs/aiohttp) +- [Selenium Base](https://github.com/seleniumbase/SeleniumBase) +- [wifipumpkin3](https://github.com/P0cL4bs/wifipumpkin3) +- [MerossIot](https://github.com/albertogeniola/MerossIot) +- [pyshorteners](https://github.com/ellisonleao/pyshorteners) +- [Slack API](https://github.com/slackapi/python-slack-events-api) +- [ibeam](https://github.com/Voyz/ibeam) +- [PyPaperBot](https://github.com/ferru97/PyPaperBot) For full list see [used by](https://github.com/abhinavsingh/proxy.py/network/dependents?package_id=UGFja2FnZS01MjQ0MDY5Ng%3D%3D) diff --git a/proxy/http/client.py b/proxy/http/client.py index 4945ff703c..28dbb97cce 100644 --- a/proxy/http/client.py +++ b/proxy/http/client.py @@ -48,8 +48,8 @@ def client( ) try: conn = new_socket_connection((host.decode(), port)) - except Exception as exc: - logger.exception('Cannot establish connection', exc_info=exc) + except Exception: + # logger.exception('Cannot establish connection', exc_info=exc) return None sock: TcpOrTlsSocket = conn if scheme == HTTPS_PROTO: