The proxy testing functionality is implemented in src/proxy_tester.py using aiohttp for asynchronous HTTP requests.
test_proxy(session, proxy): Tests a single proxy by making a GET request tohttps://httpbin.org/get.test_proxies(proxies): Tests a list of proxies concurrently usingasyncio.gather.
- The
test_proxyfunction checks if a proxy is working by attempting to connect to a target URL. - If the proxy is functional, it is added to the list of working proxies.
- The results are returned to the GUI for display.