Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 701 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 701 Bytes

pyproxy

A really simple module to help me filter working proxies

Usage

If you want to integrate pyproxy with an existing project, you can, after cloning this repository, follow this simple steps:

  • Import the Proxy module
import Proxy from proxy
  • Create an object with it's necessary paramaters
url = "https://www.amazon.com/" # The website you want to test the proxies in
input_path = "./input.txt" # The file that contains a list of proxies you want to test
output_path = "./output.txt" # The file that will contain the working proxies

proxy = Proxy(url, input_path, output_path)
  • Call the "get_valid_proxies" method
proxy.get_valid_proxies()