Closed 5h4kun1 closed 1 year ago
hey wanna update it ??
Hey @5h4kun1 Thanks for your contribution. I want to suggest a few changes to it.
For testing of proxies, can we choose an alternative domain? As google detects most proxy that other sites won't be, resulting in more dead proxies.
Can we give users an option to set any domain on which proxy will be tested ? And if they don't provide, we will use a default one.
In this optimized version, the script includes the following changes:
The test_ip_addresses
function now accepts
the domain
parameter, allowing users to specify an alternative domain for testing.
i have updated it into my repo can u please check once
Thanks!
Thanks, @5h4kun1 for your contribution. This looks good to go.
However, There can be many optimizations done to speed this up, like using multi-threading, more configurability , adding command line arguments, using better libraries than requests like urllib (inbuilt module) or faster-than-requests and async jobs.
If you would like to make new contibutions kindly open new issues and PR.
Hey i would really liked to contribute further and yes in 2-3 days i will again reopen it with the following changes
Introduction: The Proxy Tester with Menu is a Python script that automates the process of testing proxy IP addresses. It allows users to select a file containing IP addresses of different proxy types (HTTP or HTTPS) and performs a connectivity test on each IP address. The script provides a user-friendly menu interface and displays a loading animation during the testing process.
Features:
http.txt
andhttps.txt
) containing IP addresses for testing.requests
library. It checks if the IP address can successfully connect tohttp://www.google.com
.results.txt
, indicating whether each IP address is active or inactive.